﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Globalization;
using System.Data;
using System.Data.Common;
using System.Xml;
using System.Text;
using System.IO;
using LibHuman;


namespace Human
{
	public class frmLyLichNV : System.Windows.Forms.Form
    {
        #region Khai bao
        private string TSo = "", sql = "", ma_vantay="",s_mmyy="";		
		DataSet dsllnv = new DataSet();
        DataSet ds_bophan = new DataSet();
		private byte[] image;
		private System.IO.MemoryStream memo;
		private System.IO.FileStream fstr;
		private Bitmap map;
        private AccessData mDB = new AccessData();
        Language lan = new Language();
        string m_user = "", ten_nd = "", ngayht = "";
        string ngaygiubac = "", bacluongcu = "", ngaynangbac = "", bacluongmoi = "", mangachcu = "", mangachmoi = "";
        string loaiphucap = "", hs_cu = "", ngayquydinh = "", hs_moi = "", ngaygiu = "", ngay = "", nglhd_cu = "", nglhd_moi = "";
        string n_manv = "", n_macv = "";
        bool bVantay, bBarcode, bTheATM, admin = false, chon_dt = false, bEdit = false;
        decimal sthd_cu = 0, sthd_moi = 0;
        int flag = 0;
        FrmNhanDang fnhandang; 
		DataSet ds =new DataSet();
        private DataSet adsHdtruoc;
		private DataSet dsxml =new DataSet();
		//private Print rpt=new Print();
		private string v_manv;
		private string picture;
        private DataSet ds1 = new DataSet();
        private MaskedBox.MaskedBox dtpNgayCongTac;
		private System.Windows.Forms.Button butTruoc;
		private System.Windows.Forms.Button butSau;
		private System.Windows.Forms.Button butThem;
		private System.Windows.Forms.Button butHuy;
		private System.Windows.Forms.Button butTim;
        private System.Windows.Forms.Button butXem;
		private System.Windows.Forms.Button butTiep;
		private System.Windows.Forms.Label label27;
        private System.Windows.Forms.TextBox txtTSo;
		private System.Windows.Forms.CheckBox checkCT;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.CheckBox checkDT;
		private System.Windows.Forms.CheckBox checkHD;
		private System.Windows.Forms.PictureBox pictureBox1;
		private System.Windows.Forms.PictureBox pictureBox3;
		private System.Windows.Forms.PictureBox pictureBox4;
		private System.Windows.Forms.CheckBox checkGC;
		private System.Windows.Forms.PictureBox pictureBox5;
		private System.Windows.Forms.CheckBox checkNN;
		private System.Windows.Forms.PictureBox pictureBox6;
		private System.Windows.Forms.CheckBox checkCS;
		private System.Windows.Forms.PictureBox pictureBox7;
		private System.Windows.Forms.CheckBox checkSK;
		private System.Windows.Forms.PictureBox pictureBox8;
		private System.Windows.Forms.CheckBox checkDThe;
		private System.Windows.Forms.Label lblCT;
		private System.Windows.Forms.Label lblDT;
		private System.Windows.Forms.Label lblHD;
		private System.Windows.Forms.Label lblGC;
		private System.Windows.Forms.Label lblNN;
		private System.Windows.Forms.Label lblCS;
		private System.Windows.Forms.Label lblSK;
		private System.Windows.Forms.Label lblDThe;
        private System.Windows.Forms.PictureBox pictureBox2;
		private System.Windows.Forms.ComboBox cboNgoaingu3;
		private System.Windows.Forms.Label label28;
		private System.Windows.Forms.ComboBox cboNgoaingu2;
        private System.Windows.Forms.Label label30;
		private System.Windows.Forms.ComboBox cboNgoaingu4;
        private System.Windows.Forms.Label label33;
        private System.Windows.Forms.ToolTip toolTip1;
        private System.ComponentModel.IContainer components;
        private System.Windows.Forms.TabControl tabllnv;
        private PictureBox pBarcode;
        private Button butCancel;
        private Panel panel6;
        private Button butKetThuc;
        private ToolStrip toolStrip2;
        private ToolStripButton tmn_congtac;
        private ToolStripSeparator toolStripSeparator7;
        private ToolStripButton tmn_daotao;
        private ToolStripSeparator toolStripSeparator4;
        private ToolStripButton tmn_hopdong;
        private ToolStripSeparator toolStripSeparator8;
        private ToolStripButton tmn_giacanh;
        private ToolStripSeparator toolStripSeparator6;
        private ToolStripButton tmn_nuocngoai;
        private ToolStripSeparator toolStripSeparator1;
        private ToolStripButton tmn_capso;
        private ToolStripSeparator toolStripSeparator2;
        private ToolStripButton tmn_suckhoe;
        private ToolStripSeparator toolStripSeparator3;
        private ToolStripButton tmn_doanthe;
        private ToolStripSeparator toolStripSeparator5;
        private ImageList ilsIcons32;
        private Button butEdit;
        private AxBARCODELib.AxBarcode barcode;
        private TabPage tabPage1;
        private Panel panel3;
        private ComboBox cboNgoaiNgu1;
        private ComboBox cboQuanOHN;
        private ComboBox cboQuanThuongTru;
        private ComboBox cboNguyenQuan;
        private GroupBox groupBox5;
        private PictureBox ptb;
        private Label finger;
        private Label lblvantay;
        private ComboBox cboTinhThuongTru;
        private Label label37;
        private Label label19;
        private TextBox txt_macc;
        private ComboBox txtNganhang;
        private TextBox txtMaBP;
        private Label label39;
        private ComboBox cboDanToc;
        private Label label43;
        private TextBox txtSoCMND;
        private TextBox txt_masothue;
        private Label label8;
        private TextBox txtSotk;
        private Label label16;
        private ComboBox cboChuyenMon;
        private Label label44;
        private TextBox txtTGBN;
        private Label label7;
        private Label label40;
        private ComboBox cboBoPhan;
        private Label lbl_macc;
        private Label label41;
        private GroupBox groupBox2;
        private PictureBox picNhanVien;
        private Button butChonHinh;
        private TextBox txtDienThoai;
        private ComboBox vitinh;
        private Label label35;
        private MaskedTextBox dtpNgayCapCMND;
        private MaskedTextBox dtpNgaySinh;
        private TextBox txtNguyenQuan;
        private MaskedTextBox txtNgayBN;
        private TextBox txtThuTu;
        private Label label20;
        private TextBox txtThuongTru;
        private Label label6;
        private TextBox txtNoiSinh;
        private TextBox txtNoiOHN;
        private TextBox txtMVTat;
        private Label label5;
        private Label label13;
        private Label label21;
        private TextBox txtChucVu;
        private Label label11;
        private ComboBox cboHocVan;
        private Label label14;
        private Label label3;
        private TextBox txtTenNV;
        private TextBox txtHoNV;
        private Label label34;
        private ComboBox cboTinhOHN;
        private Label label2;
        private TextBox txtnamsinh;
        private Label label74;
        private ComboBox cboPhai;
        private TextBox txtCellphone;
        private ComboBox cboTonGiao;
        private Label label32;
        private Label label22;
        private Label label1;
        private Label label18;
        private Label label9;
        private TextBox txtNoiCapCMND;
        private TextBox txtMaSoNV;
        private Label label12;
        private Label label15;
        private Label label17;
        private Label label29;
        private Panel panel1;
        private ComboBox cboChucdanh;
        private Label label4;
        private Label label25;
        private TextBox txtBiDanh;
        private TextBox cboDoan;
        private Label label23;
        private Label label24;
        private TextBox cboCongDoan;
        private Label label31;
        private TextBox txtipmay;
        private TextBox cboDang;
        private TextBox cboChiBo;
        private Label label26;
        private ComboBox ngoaingu2;
        private Label lbipmay;
        private Label label36;
        private Label label38;
        private ComboBox cboChinhtri;
        private TabPage tabPage2;
        private DataGrid dataGrid1;
        private Panel panel8;
        private ComboBox cbpBP_loc;
        private TextBox txtTimnhanh;
        private Label label42;
        private Panel panel2;
        private ComboBox cboChucVu;
        private Janus.Windows.UI.Tab.UITab uiTab1;
        private Janus.Windows.UI.Tab.UITabPage uiTabPage1;
        private GroupBox groupBox3;
        private DataGridView dgrThanhVienGD_ct;
        private DataGridViewTextBoxColumn ngayhl;
        private DataGridViewTextBoxColumn tunam;
        private DataGridViewTextBoxColumn denngay;
        private DataGridViewTextBoxColumn dennam;
        private DataGridViewTextBoxColumn Column1_5;
        private DataGridViewTextBoxColumn Column1_7;
        private DataGridViewTextBoxColumn Column1_8;
        private DataGridViewTextBoxColumn mad;
        private DataGridViewTextBoxColumn id;
        private Panel panel4;
        private Label label53;
        private TextBox txt_tuthang_ct;
        private Label label54;
        private Janus.Windows.EditControls.UIButton butHuy_ct;
        private Janus.Windows.EditControls.UIButton btn_boqua_ct;
        private Janus.Windows.EditControls.UIButton btn_luu_ct;
        private Janus.Windows.EditControls.UIButton btn_sua_ct;
        private Janus.Windows.EditControls.UIButton btnthem_ct;
        private TextBox txtid;
        private TextBox txtDTT_CQ_dt;
        private MaskedBox.MaskedBox maskedBox1;
        private Label label52;
        private TextBox txtKyNang_ct;
        private CheckBox ckbKyNang;
        private TextBox txtSoThich_ct;
        private CheckBox ckbSoThich;
        private GroupBox groupBox4;
        private CheckBox chk_dict;
        private TextBox txt_hscv_ct;
        private Label label10;
        private TextBox txt_hsk_ct;
        private Label label45;
        private TextBox txtHS_CT_ct;
        private TextBox txt_hsvk_ct;
        private Label label46;
        private TextBox txt_hsud_ct;
        private Label label47;
        private Label label168;
        private Label label48;
        private TextBox txt_denthang_ct;
        private Label label49;
        private TextBox txt_dennam_ct;
        private ComboBox cbngenghiep_ct;
        private Label label50;
        private MaskedTextBox txtDN_CT_ct;
        private Label label51;
        private TextBox txt_tuthang;
        private TextBox txt_tunam_ct;
        private MaskedTextBox txtTN_CT_ct;
        private TextBox txtDV_CT_ct;
        private Label label167;
        private Label label166;
        private ComboBox cbchucvu_ct;
        private Label label165;
        private Label label164;
        private Label label163;
        private Janus.Windows.UI.Tab.UITabPage uiTabPage2;
        private Janus.Windows.EditControls.UIGroupBox uiGroupBox1;
        private Panel panel5;
        private Janus.Windows.EditControls.UIButton btnHuy_dt;
        private Janus.Windows.EditControls.UIButton btnBoqua_dt;
        private Janus.Windows.EditControls.UIButton butEdit_dt;
        private Janus.Windows.EditControls.UIButton btnLuu_dt;
        private Janus.Windows.EditControls.UIButton btnThem_dt;
        private Label label60;
        private Label label68;
        private Label label69;
        private Label label70;
        private Janus.Windows.UI.Tab.UITabPage uiTabPage3;
        private Janus.Windows.EditControls.UIGroupBox uiGroupBox2;
        private Janus.Windows.EditControls.UIButton btn_boqua_hd;
        private Janus.Windows.EditControls.UIButton btn_huy_hd;
        private Janus.Windows.EditControls.UIButton btn_sua_hd;
        private Janus.Windows.EditControls.UIButton btn_luu_hd;
        private Janus.Windows.EditControls.UIButton btn_them_hd;
        private MaskedTextBox txt_ngaynghi_hd;
        private CheckBox chk_xemttkl;
        private Label label115;
        private CheckBox chk_xemttkt;
        private CheckBox chk_xemhsl;
        private Label label117;
        private ComboBox cbo_lydonghi_hd;
        private GroupBox groupBox6;
        private Label lbl_pctdt;
        private Label lbl_th;
        private Label lbl_tn;
        private TextBox txt_hstn_hd;
        private Label lbl_tldb;
        private Label lbl_tlud;
        private TextBox txt_pctx_hd;
        private Label lbl_ud;
        private TextBox txt_pckh;
        private Label label113;
        private TextBox txt_hsld_hd;
        private TextBox txt_hsdb_hd;
        private TextBox txt_hskv_hd;
        private TextBox txt_hsdh_hd;
        private TextBox txt_hsdt_hd;
        private Label lbl_tldt;
        private TextBox txt_hsth_hd;
        private TextBox txt_pcta_hd;
        private TextBox txt_hesolc_hd;
        private TextBox txtSPT_CQ_hd;
        private MaskedTextBox txt_ngayvk_hd;
        private Label lbl_tlvk;
        private Label label114;
        private Label lbl_ta;
        private Label lbl_kv;
        private Label lbl_vk;
        private Label label116;
        private TextBox txt_hscv_hd;
        private Label lbl_cv;
        private Label lbl_db;
        private Label lbl_ld;
        private Label lbl_tx;
        private Label lbl_dt;
        private Label label112;
        private Label label110;
        private Label lbl_dh;
        private CheckBox chk_luongsp;
        private Panel p_hdbantg;
        private Label label87;
        private Label lbl_sthdbantg;
        private TextBox txt_stbantg_hd;
        private Label label88;
        private ComboBox cbo_lhdbantg_hd;
        private TextBox txt_ghichuct_hd;
        private Label label89;
        private NumericUpDown num_sothangtbnh_hd;
        private TextBox txt_sotienhd_hd;
        private Label lbl_sotienhd;
        private CheckBox chk_tbnghihuu;
        private Label label90;
        private TextBox txt_phepthem_hd;
        private MaskedTextBox txt_nhluonghd_hd;
        private MaskedTextBox txt_ngaykyhd_hd;
        private ComboBox cbo_hsbdhv_hd;
        private Label label91;
        private Label label92;
        private MaskedTextBox txt_ngaybhiem_hd;
        private MaskedTextBox txt_ngaygiubac_hd;
        private MaskedTextBox txt_ngayhuongluong_hd;
        private MaskedTextBox txt_denngayhd_hd;
        private MaskedTextBox txt_tungayhd_hd;
        private MaskedTextBox txt_ngaydenct_hd;
        private TextBox txt_sohd_hd;
        private NumericUpDown num_sothanghd_hd;
        private ComboBox cbo_loaihd_hd;
        private ComboBox cbo_ngachcc_hd;
        private Label label93;
        private Label label94;
        private TextBox txt_luongcb_hd;
        private Label label111;
        private TextBox txt_ngayphep_hd;
        private Label label95;
        private TextBox txt_mltt_hd;
        private Label label96;
        private Label label97;
        private Label label98;
        private CheckBox chk_bhxh;
        private CheckBox chk_bhtn;
        private CheckBox chk_bhyt;
        private Label label100;
        private Label label102;
        private ComboBox cbo_tuyendung_hd;
        private ComboBox cbo_ghichu_hd;
        private ComboBox cbo_bac_hd;
        private Label label103;
        private Label label169;
        private Label label104;
        private Label label105;
        private Label label106;
        private Label lbl_nhluonghd;
        private Label label107;
        private Label label108;
        private Label label109;
        private Panel p_thuviec;
        private Label l_ngaychinhthuc;
        private MaskedTextBox txt_ngaychinhthuc_hd;
        private Label l_denngay;
        private Label l_tungay;
        private MaskedTextBox txt_denngaytv_hd;
        private MaskedTextBox txt_tungaytv_hd;
        private Label ng;
        private Label label99;
        private Janus.Windows.UI.Tab.UITabPage uiTabPage4;
        private Janus.Windows.EditControls.UIGroupBox uiGroupBox3;
        private DataGridView dataGridView1;
        private DataGridViewTextBoxColumn Column1;
        private DataGridViewTextBoxColumn Column2;
        private DataGridViewTextBoxColumn Column3;
        private DataGridViewTextBoxColumn Column4;
        private DataGridViewTextBoxColumn Column5;
        private DataGridViewTextBoxColumn Column11;
        private DataGridViewTextBoxColumn Column6;
        private DataGridViewTextBoxColumn Column7;
        private DataGridViewTextBoxColumn Column8;
        private DataGridViewTextBoxColumn Column9;
        private DataGridViewTextBoxColumn Column10;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
        private Panel panel7;
        private Janus.Windows.EditControls.UIButton uiButton6;
        private Janus.Windows.EditControls.UIButton uiButton7;
        private Janus.Windows.EditControls.UIButton uiButton8;
        private Janus.Windows.EditControls.UIButton uiButton9;
        private Janus.Windows.EditControls.UIButton uiButton10;
        private TextBox txtST_CQ_dt;
        private Label label124;
        private TextBox txtghichu;
        private Label label119;
        private TextBox txt_nn;
        private Label label120;
        private TextBox txtGC_GC;
        private Label label170;
        private Label label121;
        private Label label171;
        private Label label122;
        private TextBox txtHT_GC;
        private ComboBox cboP_GC;
        private TextBox txtNS_GC;
        private ComboBox cboQH_GC;
        private CheckBox ckbgiadinhthuongbinh;
        private TextBox txtDDGiaDinh;
        private CheckBox ckbGiaDinhLietSi;
        private CheckBox ckbTTHonNhan;
        private Label label118;
        private Label label123;
        private Janus.Windows.UI.Tab.UITabPage uiTabPage5;
        private Janus.Windows.EditControls.UIGroupBox uiGroupBox4;
        private DataGridView dataGridView2;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
        private Panel panel9;
        private Janus.Windows.EditControls.UIButton uiButton11;
        private Janus.Windows.EditControls.UIButton uiButton12;
        private Janus.Windows.EditControls.UIButton uiButton13;
        private Janus.Windows.EditControls.UIButton uiButton14;
        private Janus.Windows.EditControls.UIButton uiButton15;
        private Label label125;
        private TextBox txtCV_NN;
        private Label label178;
        private TextBox txtNTT_CQ_dt;
        private MaskedTextBox txtDN_NN;
        private MaskedTextBox txtTN_NN;
        private Label label177;
        private Label label172;
        private ComboBox cboDV_NN;
        private Label label173;
        private TextBox txtTG_NN;
        private ComboBox cboQG_NN;
        private Label label174;
        private Label label175;
        private Label label176;
        private TextBox txtN_NN;
        private Janus.Windows.UI.Tab.UITabPage uiTabPage6;
        private Panel panel10;
        private Janus.Windows.EditControls.UIButton uiButton16;
        private Janus.Windows.EditControls.UIButton uiButton17;
        private Janus.Windows.EditControls.UIButton uiButton18;
        private Janus.Windows.EditControls.UIButton uiButton19;
        private Janus.Windows.EditControls.UIButton uiButton20;
        private Janus.Windows.EditControls.UIGroupBox uiGroupBox7;
        private MaskedTextBox txtDBHYT_CS;
        private MaskedTextBox txtTHTBHYT_CS;
        private MaskedTextBox txtNCBHYT_CS;
        private ComboBox cboBHKBHYT_CS;
        private ComboBox cboBHNTBHYT_CS;
        private ComboBox cboBHTN24BHYT_CS;
        private ComboBox cboTBVBHYT_CS;
        private ComboBox cboTBHYT_CS;
        private TextBox txtSTBHYT_CS;
        private Label label141;
        private Label label142;
        private Label label143;
        private Label label144;
        private Label label145;
        private Label label146;
        private Label label147;
        private Label label148;
        private Label label149;
        private Janus.Windows.EditControls.UIGroupBox uiGroupBox6;
        private MaskedTextBox txtNCBHXH_CS;
        private TextBox txtNBHXH_CS;
        private TextBox txtTTGTBHXH_CS;
        private TextBox txtSTKTBHXH_CS;
        private ComboBox cboNCBHXH_CS;
        private TextBox txtSSBHXH_CS;
        private Label label134;
        private Label label135;
        private Label label136;
        private Label label137;
        private Label label138;
        private Label label139;
        private Label label140;
        private Janus.Windows.EditControls.UIGroupBox uiGroupBox5;
        private MaskedTextBox txtNDKSDLD_CS;
        private TextBox txtSDKLD_CS;
        private Label label132;
        private Label label133;
        private MaskedTextBox txtNChuyenLD_CS;
        private TextBox txtCTCQLD_CS;
        private Label label130;
        private Label label131;
        private ComboBox cboTLD_CS;
        private TextBox txtNCapLD_CS;
        private Label label128;
        private Label label129;
        private MaskedTextBox txtNCLD_CS;
        private TextBox txtSSLD_CS;
        private Label label126;
        private Label label127;
        private Janus.Windows.UI.Tab.UITabPage uiTabPage7;
        private Janus.Windows.EditControls.UIGroupBox uiGroupBox8;
        private DataGridView dataGridView3;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn15;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn16;
        private DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;
        private Panel panel11;
        private Janus.Windows.EditControls.UIButton uiButton21;
        private Janus.Windows.EditControls.UIButton uiButton22;
        private Janus.Windows.EditControls.UIButton uiButton23;
        private Janus.Windows.EditControls.UIButton uiButton24;
        private Janus.Windows.EditControls.UIButton uiButton25;
        private ComboBox cmbloai;
        private CheckBox checkthuongtat;
        private TextBox txtGC_SK;
        private Label label151;
        private Label label152;
        private Label label181;
        private MaskedTextBox txtDN_SK;
        private Label label182;
        private MaskedTextBox txtTN_SK;
        private TextBox txtTHSK_SK;
        private TextBox txtL_SK;
        private Label label183;
        private Label label184;
        private Label label185;
        private TextBox txtNhanDang;
        private Label label150;
        private DataGrid dgrDaoTao;
        private DataGrid dgrQTDTCoQuan;
        private Label label55;
        private Label label56;
        private ComboBox cboTDViTinh_dt;
        private ComboBox cboHocVanDT_dt;
        private Label label57;
        private Label label58;
        private ComboBox cboHocHam_dt;
        private ComboBox cboChuyenMonTD2_dt;
        private ComboBox cboChuyenMonTD1_dt;
        private ComboBox cboChuyenMonDT_dt;
        private Label label59;
        private ComboBox cboHocVanNN2_dt;
        private Label label61;
        private Label label62;
        private Label label63;
        private ComboBox cboHocVanNN1_dt;
        private Label label64;
        private TextBox txtHe_dt;
        private ComboBox cboTrinhDoNN1_dt;
        private Label label65;
        private Label label66;
        private ComboBox cboHeTD2_dt;
        private Label label67;
        private ComboBox cboTrinhDoNN2_dt;
        private ComboBox cboHeTD1_dt;
        private Label label71;
        private ComboBox cboTrinhDoDT_dt;
        private ComboBox cboHe_dt;
        private Label label72;
        private Label label73;
        private Label label75;
        private TextBox txtQLNNDaHoc;
        private Label label76;
        private ComboBox cboTDQLNN_dt;
        private GroupBox groupDT;
        private Label label77;
        private TextBox txt_denthang_dt;
        private Label label78;
        private TextBox txt_tuthang_dt;
        private TextBox txt_dennam_dt;
        private Label label79;
        private Label label80;
        private TextBox txt_tunam_dt;
        private TextBox txt_ghichu_dt;
        private TextBox txt_noidaotao_dt;
        private ComboBox cbo_donvitg_dt;
        private MaskedTextBox txt_denngay_dt;
        private MaskedTextBox txt_tungay_dt;
        private ComboBox cbo_hedt_dt;
        private ComboBox cbo_bangcap_dt;
        private ComboBox cbo_ndt_dt;
        private Label label81;
        private TextBox txt_tg_dt;
        private Label label82;
        private Label label83;
        private Label label84;
        private Label label85;
        private Label label86;
        private Label label153;
        private Label label154;
        private Label label155;
        private GroupBox groupDTCQ;
        private ComboBox cbodonvicq_dt;
        private MaskedTextBox txtTungay_dt;
        private MaskedTextBox txtNTT_CQ;
        private Label label156;
        private TextBox txtThang_dt;
        private Label label157;
        private Label label162;
        private TextBox txtST_CQ;
        private Label label161;
        private TextBox txtSPT_CQ;
        private Label label160;
        private TextBox txtDTT_CQ;
        private Label label158;
        private Label label159;
        private Label label179;
        private Label label180;
        private TextBox ghichu_dt;
        private ComboBox cboNDT_CQ_dt;
        private Label label101;
        private TextBox txtLan_hd;
        private PrintPreviewDialog printPreviewDialog1;
        #endregion

        public frmLyLichNV(bool m_admin,string tennd)
		{			
			InitializeComponent();
            lan.Read_Language_to_Xml(this.Name.ToString(), this);
            lan.Changelanguage_to_English(this.Name.ToString(), this);
            admin = m_admin;
            ten_nd = tennd;
		}

		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		
		private void InitializeComponent()
		{
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmLyLichNV));
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
            this.dtpNgayCongTac = new MaskedBox.MaskedBox();
            this.label27 = new System.Windows.Forms.Label();
            this.txtTSo = new System.Windows.Forms.TextBox();
            this.lblCT = new System.Windows.Forms.Label();
            this.checkCT = new System.Windows.Forms.CheckBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.pictureBox2 = new System.Windows.Forms.PictureBox();
            this.pictureBox8 = new System.Windows.Forms.PictureBox();
            this.checkDThe = new System.Windows.Forms.CheckBox();
            this.lblDThe = new System.Windows.Forms.Label();
            this.pictureBox7 = new System.Windows.Forms.PictureBox();
            this.checkSK = new System.Windows.Forms.CheckBox();
            this.lblSK = new System.Windows.Forms.Label();
            this.pictureBox6 = new System.Windows.Forms.PictureBox();
            this.checkCS = new System.Windows.Forms.CheckBox();
            this.lblCS = new System.Windows.Forms.Label();
            this.pictureBox5 = new System.Windows.Forms.PictureBox();
            this.checkNN = new System.Windows.Forms.CheckBox();
            this.lblNN = new System.Windows.Forms.Label();
            this.pictureBox4 = new System.Windows.Forms.PictureBox();
            this.checkGC = new System.Windows.Forms.CheckBox();
            this.lblGC = new System.Windows.Forms.Label();
            this.pictureBox3 = new System.Windows.Forms.PictureBox();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.checkHD = new System.Windows.Forms.CheckBox();
            this.lblHD = new System.Windows.Forms.Label();
            this.checkDT = new System.Windows.Forms.CheckBox();
            this.lblDT = new System.Windows.Forms.Label();
            this.cboNgoaingu3 = new System.Windows.Forms.ComboBox();
            this.label28 = new System.Windows.Forms.Label();
            this.cboNgoaingu2 = new System.Windows.Forms.ComboBox();
            this.label30 = new System.Windows.Forms.Label();
            this.cboNgoaingu4 = new System.Windows.Forms.ComboBox();
            this.label33 = new System.Windows.Forms.Label();
            this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
            this.butEdit = new System.Windows.Forms.Button();
            this.butXem = new System.Windows.Forms.Button();
            this.butTim = new System.Windows.Forms.Button();
            this.butCancel = new System.Windows.Forms.Button();
            this.butTruoc = new System.Windows.Forms.Button();
            this.butThem = new System.Windows.Forms.Button();
            this.butHuy = new System.Windows.Forms.Button();
            this.butTiep = new System.Windows.Forms.Button();
            this.butSau = new System.Windows.Forms.Button();
            this.butKetThuc = new System.Windows.Forms.Button();
            this.cboChucdanh = new System.Windows.Forms.ComboBox();
            this.label12 = new System.Windows.Forms.Label();
            this.txtMaSoNV = new System.Windows.Forms.TextBox();
            this.txtNoiCapCMND = new System.Windows.Forms.TextBox();
            this.cboTonGiao = new System.Windows.Forms.ComboBox();
            this.txtCellphone = new System.Windows.Forms.TextBox();
            this.cboPhai = new System.Windows.Forms.ComboBox();
            this.txtnamsinh = new System.Windows.Forms.TextBox();
            this.cboTinhOHN = new System.Windows.Forms.ComboBox();
            this.txtHoNV = new System.Windows.Forms.TextBox();
            this.txtTenNV = new System.Windows.Forms.TextBox();
            this.txtChucVu = new System.Windows.Forms.TextBox();
            this.txtMVTat = new System.Windows.Forms.TextBox();
            this.txtNoiOHN = new System.Windows.Forms.TextBox();
            this.txtNoiSinh = new System.Windows.Forms.TextBox();
            this.txtThuongTru = new System.Windows.Forms.TextBox();
            this.txtNguyenQuan = new System.Windows.Forms.TextBox();
            this.txtDienThoai = new System.Windows.Forms.TextBox();
            this.butChonHinh = new System.Windows.Forms.Button();
            this.cboBoPhan = new System.Windows.Forms.ComboBox();
            this.txtTGBN = new System.Windows.Forms.TextBox();
            this.txtSotk = new System.Windows.Forms.TextBox();
            this.txtSoCMND = new System.Windows.Forms.TextBox();
            this.cboDanToc = new System.Windows.Forms.ComboBox();
            this.txtMaBP = new System.Windows.Forms.TextBox();
            this.cboTinhThuongTru = new System.Windows.Forms.ComboBox();
            this.label169 = new System.Windows.Forms.Label();
            this.cbo_hsbdhv_hd = new System.Windows.Forms.ComboBox();
            this.lbl_dh = new System.Windows.Forms.Label();
            this.lbl_dt = new System.Windows.Forms.Label();
            this.lbl_ld = new System.Windows.Forms.Label();
            this.lbl_db = new System.Windows.Forms.Label();
            this.lbl_vk = new System.Windows.Forms.Label();
            this.lbl_kv = new System.Windows.Forms.Label();
            this.lbl_ta = new System.Windows.Forms.Label();
            this.txt_pckh = new System.Windows.Forms.TextBox();
            this.lbl_ud = new System.Windows.Forms.Label();
            this.lbl_tn = new System.Windows.Forms.Label();
            this.lbl_th = new System.Windows.Forms.Label();
            this.chk_dict = new System.Windows.Forms.CheckBox();
            this.dgrThanhVienGD_ct = new System.Windows.Forms.DataGridView();
            this.ngayhl = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.tunam = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.denngay = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dennam = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column1_5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column1_7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column1_8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.mad = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.tabllnv = new System.Windows.Forms.TabControl();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.panel2 = new System.Windows.Forms.Panel();
            this.uiTab1 = new Janus.Windows.UI.Tab.UITab();
            this.uiTabPage3 = new Janus.Windows.UI.Tab.UITabPage();
            this.uiGroupBox2 = new Janus.Windows.EditControls.UIGroupBox();
            this.btn_boqua_hd = new Janus.Windows.EditControls.UIButton();
            this.btn_huy_hd = new Janus.Windows.EditControls.UIButton();
            this.btn_sua_hd = new Janus.Windows.EditControls.UIButton();
            this.btn_luu_hd = new Janus.Windows.EditControls.UIButton();
            this.btn_them_hd = new Janus.Windows.EditControls.UIButton();
            this.txt_ngaynghi_hd = new System.Windows.Forms.MaskedTextBox();
            this.chk_xemttkl = new System.Windows.Forms.CheckBox();
            this.label115 = new System.Windows.Forms.Label();
            this.chk_xemttkt = new System.Windows.Forms.CheckBox();
            this.chk_xemhsl = new System.Windows.Forms.CheckBox();
            this.label117 = new System.Windows.Forms.Label();
            this.cbo_lydonghi_hd = new System.Windows.Forms.ComboBox();
            this.groupBox6 = new System.Windows.Forms.GroupBox();
            this.lbl_pctdt = new System.Windows.Forms.Label();
            this.txt_hstn_hd = new System.Windows.Forms.TextBox();
            this.lbl_tldb = new System.Windows.Forms.Label();
            this.lbl_tlud = new System.Windows.Forms.Label();
            this.txt_pctx_hd = new System.Windows.Forms.TextBox();
            this.label113 = new System.Windows.Forms.Label();
            this.txt_hsld_hd = new System.Windows.Forms.TextBox();
            this.txt_hsdb_hd = new System.Windows.Forms.TextBox();
            this.txt_hskv_hd = new System.Windows.Forms.TextBox();
            this.txt_hsdh_hd = new System.Windows.Forms.TextBox();
            this.txt_hsdt_hd = new System.Windows.Forms.TextBox();
            this.lbl_tldt = new System.Windows.Forms.Label();
            this.txt_hsth_hd = new System.Windows.Forms.TextBox();
            this.txt_pcta_hd = new System.Windows.Forms.TextBox();
            this.txt_hesolc_hd = new System.Windows.Forms.TextBox();
            this.txtSPT_CQ_hd = new System.Windows.Forms.TextBox();
            this.txt_ngayvk_hd = new System.Windows.Forms.MaskedTextBox();
            this.lbl_tlvk = new System.Windows.Forms.Label();
            this.label114 = new System.Windows.Forms.Label();
            this.label116 = new System.Windows.Forms.Label();
            this.txt_hscv_hd = new System.Windows.Forms.TextBox();
            this.lbl_cv = new System.Windows.Forms.Label();
            this.lbl_tx = new System.Windows.Forms.Label();
            this.label112 = new System.Windows.Forms.Label();
            this.label110 = new System.Windows.Forms.Label();
            this.chk_luongsp = new System.Windows.Forms.CheckBox();
            this.p_hdbantg = new System.Windows.Forms.Panel();
            this.label87 = new System.Windows.Forms.Label();
            this.lbl_sthdbantg = new System.Windows.Forms.Label();
            this.txt_stbantg_hd = new System.Windows.Forms.TextBox();
            this.label88 = new System.Windows.Forms.Label();
            this.cbo_lhdbantg_hd = new System.Windows.Forms.ComboBox();
            this.txt_ghichuct_hd = new System.Windows.Forms.TextBox();
            this.label89 = new System.Windows.Forms.Label();
            this.num_sothangtbnh_hd = new System.Windows.Forms.NumericUpDown();
            this.txt_sotienhd_hd = new System.Windows.Forms.TextBox();
            this.lbl_sotienhd = new System.Windows.Forms.Label();
            this.chk_tbnghihuu = new System.Windows.Forms.CheckBox();
            this.label90 = new System.Windows.Forms.Label();
            this.txt_phepthem_hd = new System.Windows.Forms.TextBox();
            this.txt_nhluonghd_hd = new System.Windows.Forms.MaskedTextBox();
            this.txt_ngaykyhd_hd = new System.Windows.Forms.MaskedTextBox();
            this.label91 = new System.Windows.Forms.Label();
            this.label92 = new System.Windows.Forms.Label();
            this.txt_ngaybhiem_hd = new System.Windows.Forms.MaskedTextBox();
            this.txt_ngaygiubac_hd = new System.Windows.Forms.MaskedTextBox();
            this.txt_ngayhuongluong_hd = new System.Windows.Forms.MaskedTextBox();
            this.txt_denngayhd_hd = new System.Windows.Forms.MaskedTextBox();
            this.txt_tungayhd_hd = new System.Windows.Forms.MaskedTextBox();
            this.txt_ngaydenct_hd = new System.Windows.Forms.MaskedTextBox();
            this.txt_sohd_hd = new System.Windows.Forms.TextBox();
            this.num_sothanghd_hd = new System.Windows.Forms.NumericUpDown();
            this.cbo_loaihd_hd = new System.Windows.Forms.ComboBox();
            this.cbo_ngachcc_hd = new System.Windows.Forms.ComboBox();
            this.label93 = new System.Windows.Forms.Label();
            this.label94 = new System.Windows.Forms.Label();
            this.txt_luongcb_hd = new System.Windows.Forms.TextBox();
            this.label111 = new System.Windows.Forms.Label();
            this.txt_ngayphep_hd = new System.Windows.Forms.TextBox();
            this.label95 = new System.Windows.Forms.Label();
            this.txt_mltt_hd = new System.Windows.Forms.TextBox();
            this.label96 = new System.Windows.Forms.Label();
            this.label97 = new System.Windows.Forms.Label();
            this.label98 = new System.Windows.Forms.Label();
            this.chk_bhxh = new System.Windows.Forms.CheckBox();
            this.chk_bhtn = new System.Windows.Forms.CheckBox();
            this.chk_bhyt = new System.Windows.Forms.CheckBox();
            this.label100 = new System.Windows.Forms.Label();
            this.label102 = new System.Windows.Forms.Label();
            this.cbo_tuyendung_hd = new System.Windows.Forms.ComboBox();
            this.cbo_ghichu_hd = new System.Windows.Forms.ComboBox();
            this.cbo_bac_hd = new System.Windows.Forms.ComboBox();
            this.label103 = new System.Windows.Forms.Label();
            this.label104 = new System.Windows.Forms.Label();
            this.label105 = new System.Windows.Forms.Label();
            this.label106 = new System.Windows.Forms.Label();
            this.lbl_nhluonghd = new System.Windows.Forms.Label();
            this.label107 = new System.Windows.Forms.Label();
            this.label108 = new System.Windows.Forms.Label();
            this.label109 = new System.Windows.Forms.Label();
            this.p_thuviec = new System.Windows.Forms.Panel();
            this.l_ngaychinhthuc = new System.Windows.Forms.Label();
            this.txt_ngaychinhthuc_hd = new System.Windows.Forms.MaskedTextBox();
            this.l_denngay = new System.Windows.Forms.Label();
            this.l_tungay = new System.Windows.Forms.Label();
            this.txt_denngaytv_hd = new System.Windows.Forms.MaskedTextBox();
            this.txt_tungaytv_hd = new System.Windows.Forms.MaskedTextBox();
            this.ng = new System.Windows.Forms.Label();
            this.label99 = new System.Windows.Forms.Label();
            this.uiTabPage1 = new Janus.Windows.UI.Tab.UITabPage();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.panel4 = new System.Windows.Forms.Panel();
            this.label53 = new System.Windows.Forms.Label();
            this.txt_tuthang_ct = new System.Windows.Forms.TextBox();
            this.label54 = new System.Windows.Forms.Label();
            this.butHuy_ct = new Janus.Windows.EditControls.UIButton();
            this.btn_boqua_ct = new Janus.Windows.EditControls.UIButton();
            this.btn_luu_ct = new Janus.Windows.EditControls.UIButton();
            this.btn_sua_ct = new Janus.Windows.EditControls.UIButton();
            this.btnthem_ct = new Janus.Windows.EditControls.UIButton();
            this.txtid = new System.Windows.Forms.TextBox();
            this.txtDTT_CQ_dt = new System.Windows.Forms.TextBox();
            this.maskedBox1 = new MaskedBox.MaskedBox();
            this.label52 = new System.Windows.Forms.Label();
            this.txtKyNang_ct = new System.Windows.Forms.TextBox();
            this.ckbKyNang = new System.Windows.Forms.CheckBox();
            this.txtSoThich_ct = new System.Windows.Forms.TextBox();
            this.ckbSoThich = new System.Windows.Forms.CheckBox();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.txt_hscv_ct = new System.Windows.Forms.TextBox();
            this.label10 = new System.Windows.Forms.Label();
            this.txt_hsk_ct = new System.Windows.Forms.TextBox();
            this.label45 = new System.Windows.Forms.Label();
            this.txtHS_CT_ct = new System.Windows.Forms.TextBox();
            this.txt_hsvk_ct = new System.Windows.Forms.TextBox();
            this.label46 = new System.Windows.Forms.Label();
            this.txt_hsud_ct = new System.Windows.Forms.TextBox();
            this.label47 = new System.Windows.Forms.Label();
            this.label168 = new System.Windows.Forms.Label();
            this.label48 = new System.Windows.Forms.Label();
            this.txt_denthang_ct = new System.Windows.Forms.TextBox();
            this.label49 = new System.Windows.Forms.Label();
            this.txt_dennam_ct = new System.Windows.Forms.TextBox();
            this.cbngenghiep_ct = new System.Windows.Forms.ComboBox();
            this.label50 = new System.Windows.Forms.Label();
            this.txtDN_CT_ct = new System.Windows.Forms.MaskedTextBox();
            this.label51 = new System.Windows.Forms.Label();
            this.txt_tuthang = new System.Windows.Forms.TextBox();
            this.txt_tunam_ct = new System.Windows.Forms.TextBox();
            this.txtTN_CT_ct = new System.Windows.Forms.MaskedTextBox();
            this.txtDV_CT_ct = new System.Windows.Forms.TextBox();
            this.label167 = new System.Windows.Forms.Label();
            this.label166 = new System.Windows.Forms.Label();
            this.cbchucvu_ct = new System.Windows.Forms.ComboBox();
            this.label165 = new System.Windows.Forms.Label();
            this.label164 = new System.Windows.Forms.Label();
            this.label163 = new System.Windows.Forms.Label();
            this.uiTabPage2 = new Janus.Windows.UI.Tab.UITabPage();
            this.uiGroupBox1 = new Janus.Windows.EditControls.UIGroupBox();
            this.dgrDaoTao = new System.Windows.Forms.DataGrid();
            this.dgrQTDTCoQuan = new System.Windows.Forms.DataGrid();
            this.panel5 = new System.Windows.Forms.Panel();
            this.groupDT = new System.Windows.Forms.GroupBox();
            this.label77 = new System.Windows.Forms.Label();
            this.txt_denthang_dt = new System.Windows.Forms.TextBox();
            this.label78 = new System.Windows.Forms.Label();
            this.txt_tuthang_dt = new System.Windows.Forms.TextBox();
            this.txt_dennam_dt = new System.Windows.Forms.TextBox();
            this.label79 = new System.Windows.Forms.Label();
            this.label80 = new System.Windows.Forms.Label();
            this.txt_tunam_dt = new System.Windows.Forms.TextBox();
            this.txt_ghichu_dt = new System.Windows.Forms.TextBox();
            this.txt_noidaotao_dt = new System.Windows.Forms.TextBox();
            this.cbo_donvitg_dt = new System.Windows.Forms.ComboBox();
            this.txt_denngay_dt = new System.Windows.Forms.MaskedTextBox();
            this.txt_tungay_dt = new System.Windows.Forms.MaskedTextBox();
            this.cbo_hedt_dt = new System.Windows.Forms.ComboBox();
            this.cbo_bangcap_dt = new System.Windows.Forms.ComboBox();
            this.cbo_ndt_dt = new System.Windows.Forms.ComboBox();
            this.label81 = new System.Windows.Forms.Label();
            this.txt_tg_dt = new System.Windows.Forms.TextBox();
            this.label82 = new System.Windows.Forms.Label();
            this.label83 = new System.Windows.Forms.Label();
            this.label84 = new System.Windows.Forms.Label();
            this.label85 = new System.Windows.Forms.Label();
            this.label86 = new System.Windows.Forms.Label();
            this.label153 = new System.Windows.Forms.Label();
            this.label154 = new System.Windows.Forms.Label();
            this.label155 = new System.Windows.Forms.Label();
            this.label66 = new System.Windows.Forms.Label();
            this.label64 = new System.Windows.Forms.Label();
            this.txtHe_dt = new System.Windows.Forms.TextBox();
            this.cboTrinhDoNN1_dt = new System.Windows.Forms.ComboBox();
            this.label65 = new System.Windows.Forms.Label();
            this.cboHeTD2_dt = new System.Windows.Forms.ComboBox();
            this.label67 = new System.Windows.Forms.Label();
            this.cboTrinhDoNN2_dt = new System.Windows.Forms.ComboBox();
            this.cboHeTD1_dt = new System.Windows.Forms.ComboBox();
            this.label71 = new System.Windows.Forms.Label();
            this.cboTrinhDoDT_dt = new System.Windows.Forms.ComboBox();
            this.cboHe_dt = new System.Windows.Forms.ComboBox();
            this.label72 = new System.Windows.Forms.Label();
            this.label73 = new System.Windows.Forms.Label();
            this.label75 = new System.Windows.Forms.Label();
            this.txtQLNNDaHoc = new System.Windows.Forms.TextBox();
            this.label76 = new System.Windows.Forms.Label();
            this.cboTDQLNN_dt = new System.Windows.Forms.ComboBox();
            this.label55 = new System.Windows.Forms.Label();
            this.label56 = new System.Windows.Forms.Label();
            this.cboTDViTinh_dt = new System.Windows.Forms.ComboBox();
            this.cboHocVanDT_dt = new System.Windows.Forms.ComboBox();
            this.label57 = new System.Windows.Forms.Label();
            this.label58 = new System.Windows.Forms.Label();
            this.cboHocHam_dt = new System.Windows.Forms.ComboBox();
            this.cboChuyenMonTD2_dt = new System.Windows.Forms.ComboBox();
            this.groupDTCQ = new System.Windows.Forms.GroupBox();
            this.cbodonvicq_dt = new System.Windows.Forms.ComboBox();
            this.txtTungay_dt = new System.Windows.Forms.MaskedTextBox();
            this.txtNTT_CQ = new System.Windows.Forms.MaskedTextBox();
            this.label156 = new System.Windows.Forms.Label();
            this.txtThang_dt = new System.Windows.Forms.TextBox();
            this.label157 = new System.Windows.Forms.Label();
            this.label162 = new System.Windows.Forms.Label();
            this.txtST_CQ = new System.Windows.Forms.TextBox();
            this.label161 = new System.Windows.Forms.Label();
            this.txtSPT_CQ = new System.Windows.Forms.TextBox();
            this.label160 = new System.Windows.Forms.Label();
            this.txtDTT_CQ = new System.Windows.Forms.TextBox();
            this.label158 = new System.Windows.Forms.Label();
            this.label159 = new System.Windows.Forms.Label();
            this.label179 = new System.Windows.Forms.Label();
            this.label180 = new System.Windows.Forms.Label();
            this.ghichu_dt = new System.Windows.Forms.TextBox();
            this.cboNDT_CQ_dt = new System.Windows.Forms.ComboBox();
            this.cboChuyenMonTD1_dt = new System.Windows.Forms.ComboBox();
            this.cboChuyenMonDT_dt = new System.Windows.Forms.ComboBox();
            this.label59 = new System.Windows.Forms.Label();
            this.cboHocVanNN2_dt = new System.Windows.Forms.ComboBox();
            this.label61 = new System.Windows.Forms.Label();
            this.label62 = new System.Windows.Forms.Label();
            this.label63 = new System.Windows.Forms.Label();
            this.cboHocVanNN1_dt = new System.Windows.Forms.ComboBox();
            this.btnHuy_dt = new Janus.Windows.EditControls.UIButton();
            this.btnBoqua_dt = new Janus.Windows.EditControls.UIButton();
            this.butEdit_dt = new Janus.Windows.EditControls.UIButton();
            this.btnLuu_dt = new Janus.Windows.EditControls.UIButton();
            this.btnThem_dt = new Janus.Windows.EditControls.UIButton();
            this.label60 = new System.Windows.Forms.Label();
            this.label68 = new System.Windows.Forms.Label();
            this.label69 = new System.Windows.Forms.Label();
            this.label70 = new System.Windows.Forms.Label();
            this.uiTabPage4 = new Janus.Windows.UI.Tab.UITabPage();
            this.uiGroupBox3 = new Janus.Windows.EditControls.UIGroupBox();
            this.dataGridView1 = new System.Windows.Forms.DataGridView();
            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.panel7 = new System.Windows.Forms.Panel();
            this.uiButton6 = new Janus.Windows.EditControls.UIButton();
            this.uiButton7 = new Janus.Windows.EditControls.UIButton();
            this.uiButton8 = new Janus.Windows.EditControls.UIButton();
            this.uiButton9 = new Janus.Windows.EditControls.UIButton();
            this.uiButton10 = new Janus.Windows.EditControls.UIButton();
            this.txtST_CQ_dt = new System.Windows.Forms.TextBox();
            this.label124 = new System.Windows.Forms.Label();
            this.txtghichu = new System.Windows.Forms.TextBox();
            this.label119 = new System.Windows.Forms.Label();
            this.txt_nn = new System.Windows.Forms.TextBox();
            this.label120 = new System.Windows.Forms.Label();
            this.txtGC_GC = new System.Windows.Forms.TextBox();
            this.label170 = new System.Windows.Forms.Label();
            this.label121 = new System.Windows.Forms.Label();
            this.label171 = new System.Windows.Forms.Label();
            this.label122 = new System.Windows.Forms.Label();
            this.txtHT_GC = new System.Windows.Forms.TextBox();
            this.cboP_GC = new System.Windows.Forms.ComboBox();
            this.txtNS_GC = new System.Windows.Forms.TextBox();
            this.cboQH_GC = new System.Windows.Forms.ComboBox();
            this.ckbgiadinhthuongbinh = new System.Windows.Forms.CheckBox();
            this.txtDDGiaDinh = new System.Windows.Forms.TextBox();
            this.ckbGiaDinhLietSi = new System.Windows.Forms.CheckBox();
            this.ckbTTHonNhan = new System.Windows.Forms.CheckBox();
            this.label118 = new System.Windows.Forms.Label();
            this.label123 = new System.Windows.Forms.Label();
            this.uiTabPage5 = new Janus.Windows.UI.Tab.UITabPage();
            this.uiGroupBox4 = new Janus.Windows.EditControls.UIGroupBox();
            this.dataGridView2 = new System.Windows.Forms.DataGridView();
            this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.panel9 = new System.Windows.Forms.Panel();
            this.uiButton11 = new Janus.Windows.EditControls.UIButton();
            this.uiButton12 = new Janus.Windows.EditControls.UIButton();
            this.uiButton13 = new Janus.Windows.EditControls.UIButton();
            this.uiButton14 = new Janus.Windows.EditControls.UIButton();
            this.uiButton15 = new Janus.Windows.EditControls.UIButton();
            this.label125 = new System.Windows.Forms.Label();
            this.txtCV_NN = new System.Windows.Forms.TextBox();
            this.label178 = new System.Windows.Forms.Label();
            this.txtNTT_CQ_dt = new System.Windows.Forms.TextBox();
            this.txtDN_NN = new System.Windows.Forms.MaskedTextBox();
            this.txtTN_NN = new System.Windows.Forms.MaskedTextBox();
            this.label177 = new System.Windows.Forms.Label();
            this.label172 = new System.Windows.Forms.Label();
            this.cboDV_NN = new System.Windows.Forms.ComboBox();
            this.label173 = new System.Windows.Forms.Label();
            this.txtTG_NN = new System.Windows.Forms.TextBox();
            this.cboQG_NN = new System.Windows.Forms.ComboBox();
            this.label174 = new System.Windows.Forms.Label();
            this.label175 = new System.Windows.Forms.Label();
            this.label176 = new System.Windows.Forms.Label();
            this.txtN_NN = new System.Windows.Forms.TextBox();
            this.uiTabPage6 = new Janus.Windows.UI.Tab.UITabPage();
            this.panel10 = new System.Windows.Forms.Panel();
            this.uiButton16 = new Janus.Windows.EditControls.UIButton();
            this.uiButton17 = new Janus.Windows.EditControls.UIButton();
            this.uiButton18 = new Janus.Windows.EditControls.UIButton();
            this.uiButton19 = new Janus.Windows.EditControls.UIButton();
            this.uiButton20 = new Janus.Windows.EditControls.UIButton();
            this.uiGroupBox7 = new Janus.Windows.EditControls.UIGroupBox();
            this.txtDBHYT_CS = new System.Windows.Forms.MaskedTextBox();
            this.txtTHTBHYT_CS = new System.Windows.Forms.MaskedTextBox();
            this.txtNCBHYT_CS = new System.Windows.Forms.MaskedTextBox();
            this.cboBHKBHYT_CS = new System.Windows.Forms.ComboBox();
            this.cboBHNTBHYT_CS = new System.Windows.Forms.ComboBox();
            this.cboBHTN24BHYT_CS = new System.Windows.Forms.ComboBox();
            this.cboTBVBHYT_CS = new System.Windows.Forms.ComboBox();
            this.cboTBHYT_CS = new System.Windows.Forms.ComboBox();
            this.txtSTBHYT_CS = new System.Windows.Forms.TextBox();
            this.label141 = new System.Windows.Forms.Label();
            this.label142 = new System.Windows.Forms.Label();
            this.label143 = new System.Windows.Forms.Label();
            this.label144 = new System.Windows.Forms.Label();
            this.label145 = new System.Windows.Forms.Label();
            this.label146 = new System.Windows.Forms.Label();
            this.label147 = new System.Windows.Forms.Label();
            this.label148 = new System.Windows.Forms.Label();
            this.label149 = new System.Windows.Forms.Label();
            this.uiGroupBox6 = new Janus.Windows.EditControls.UIGroupBox();
            this.txtNCBHXH_CS = new System.Windows.Forms.MaskedTextBox();
            this.txtNBHXH_CS = new System.Windows.Forms.TextBox();
            this.txtTTGTBHXH_CS = new System.Windows.Forms.TextBox();
            this.txtSTKTBHXH_CS = new System.Windows.Forms.TextBox();
            this.cboNCBHXH_CS = new System.Windows.Forms.ComboBox();
            this.txtSSBHXH_CS = new System.Windows.Forms.TextBox();
            this.label134 = new System.Windows.Forms.Label();
            this.label135 = new System.Windows.Forms.Label();
            this.label136 = new System.Windows.Forms.Label();
            this.label137 = new System.Windows.Forms.Label();
            this.label138 = new System.Windows.Forms.Label();
            this.label139 = new System.Windows.Forms.Label();
            this.label140 = new System.Windows.Forms.Label();
            this.uiGroupBox5 = new Janus.Windows.EditControls.UIGroupBox();
            this.txtNDKSDLD_CS = new System.Windows.Forms.MaskedTextBox();
            this.txtSDKLD_CS = new System.Windows.Forms.TextBox();
            this.label132 = new System.Windows.Forms.Label();
            this.label133 = new System.Windows.Forms.Label();
            this.txtNChuyenLD_CS = new System.Windows.Forms.MaskedTextBox();
            this.txtCTCQLD_CS = new System.Windows.Forms.TextBox();
            this.label130 = new System.Windows.Forms.Label();
            this.label131 = new System.Windows.Forms.Label();
            this.cboTLD_CS = new System.Windows.Forms.ComboBox();
            this.txtNCapLD_CS = new System.Windows.Forms.TextBox();
            this.label128 = new System.Windows.Forms.Label();
            this.label129 = new System.Windows.Forms.Label();
            this.txtNCLD_CS = new System.Windows.Forms.MaskedTextBox();
            this.txtSSLD_CS = new System.Windows.Forms.TextBox();
            this.label126 = new System.Windows.Forms.Label();
            this.label127 = new System.Windows.Forms.Label();
            this.uiTabPage7 = new Janus.Windows.UI.Tab.UITabPage();
            this.uiGroupBox8 = new Janus.Windows.EditControls.UIGroupBox();
            this.dataGridView3 = new System.Windows.Forms.DataGridView();
            this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.panel11 = new System.Windows.Forms.Panel();
            this.uiButton21 = new Janus.Windows.EditControls.UIButton();
            this.uiButton22 = new Janus.Windows.EditControls.UIButton();
            this.uiButton23 = new Janus.Windows.EditControls.UIButton();
            this.uiButton24 = new Janus.Windows.EditControls.UIButton();
            this.uiButton25 = new Janus.Windows.EditControls.UIButton();
            this.cmbloai = new System.Windows.Forms.ComboBox();
            this.checkthuongtat = new System.Windows.Forms.CheckBox();
            this.txtGC_SK = new System.Windows.Forms.TextBox();
            this.label151 = new System.Windows.Forms.Label();
            this.label152 = new System.Windows.Forms.Label();
            this.label181 = new System.Windows.Forms.Label();
            this.txtDN_SK = new System.Windows.Forms.MaskedTextBox();
            this.label182 = new System.Windows.Forms.Label();
            this.txtTN_SK = new System.Windows.Forms.MaskedTextBox();
            this.txtTHSK_SK = new System.Windows.Forms.TextBox();
            this.txtL_SK = new System.Windows.Forms.TextBox();
            this.label183 = new System.Windows.Forms.Label();
            this.label184 = new System.Windows.Forms.Label();
            this.label185 = new System.Windows.Forms.Label();
            this.txtNhanDang = new System.Windows.Forms.TextBox();
            this.label150 = new System.Windows.Forms.Label();
            this.panel3 = new System.Windows.Forms.Panel();
            this.cboChucVu = new System.Windows.Forms.ComboBox();
            this.cboNgoaiNgu1 = new System.Windows.Forms.ComboBox();
            this.cboQuanOHN = new System.Windows.Forms.ComboBox();
            this.cboQuanThuongTru = new System.Windows.Forms.ComboBox();
            this.cboNguyenQuan = new System.Windows.Forms.ComboBox();
            this.groupBox5 = new System.Windows.Forms.GroupBox();
            this.ptb = new System.Windows.Forms.PictureBox();
            this.finger = new System.Windows.Forms.Label();
            this.lblvantay = new System.Windows.Forms.Label();
            this.label37 = new System.Windows.Forms.Label();
            this.label19 = new System.Windows.Forms.Label();
            this.txt_macc = new System.Windows.Forms.TextBox();
            this.txtNganhang = new System.Windows.Forms.ComboBox();
            this.label39 = new System.Windows.Forms.Label();
            this.label43 = new System.Windows.Forms.Label();
            this.txt_masothue = new System.Windows.Forms.TextBox();
            this.label8 = new System.Windows.Forms.Label();
            this.label16 = new System.Windows.Forms.Label();
            this.cboChuyenMon = new System.Windows.Forms.ComboBox();
            this.label44 = new System.Windows.Forms.Label();
            this.label7 = new System.Windows.Forms.Label();
            this.label40 = new System.Windows.Forms.Label();
            this.lbl_macc = new System.Windows.Forms.Label();
            this.label41 = new System.Windows.Forms.Label();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.picNhanVien = new System.Windows.Forms.PictureBox();
            this.vitinh = new System.Windows.Forms.ComboBox();
            this.label35 = new System.Windows.Forms.Label();
            this.dtpNgayCapCMND = new System.Windows.Forms.MaskedTextBox();
            this.dtpNgaySinh = new System.Windows.Forms.MaskedTextBox();
            this.txtNgayBN = new System.Windows.Forms.MaskedTextBox();
            this.txtThuTu = new System.Windows.Forms.TextBox();
            this.label20 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label13 = new System.Windows.Forms.Label();
            this.label21 = new System.Windows.Forms.Label();
            this.label11 = new System.Windows.Forms.Label();
            this.cboHocVan = new System.Windows.Forms.ComboBox();
            this.label14 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label34 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label74 = new System.Windows.Forms.Label();
            this.label32 = new System.Windows.Forms.Label();
            this.label22 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.label18 = new System.Windows.Forms.Label();
            this.label9 = new System.Windows.Forms.Label();
            this.label15 = new System.Windows.Forms.Label();
            this.label17 = new System.Windows.Forms.Label();
            this.label29 = new System.Windows.Forms.Label();
            this.panel1 = new System.Windows.Forms.Panel();
            this.label4 = new System.Windows.Forms.Label();
            this.label25 = new System.Windows.Forms.Label();
            this.txtBiDanh = new System.Windows.Forms.TextBox();
            this.cboDoan = new System.Windows.Forms.TextBox();
            this.label23 = new System.Windows.Forms.Label();
            this.label24 = new System.Windows.Forms.Label();
            this.cboCongDoan = new System.Windows.Forms.TextBox();
            this.label31 = new System.Windows.Forms.Label();
            this.txtipmay = new System.Windows.Forms.TextBox();
            this.cboDang = new System.Windows.Forms.TextBox();
            this.cboChiBo = new System.Windows.Forms.TextBox();
            this.label26 = new System.Windows.Forms.Label();
            this.ngoaingu2 = new System.Windows.Forms.ComboBox();
            this.lbipmay = new System.Windows.Forms.Label();
            this.label36 = new System.Windows.Forms.Label();
            this.label38 = new System.Windows.Forms.Label();
            this.cboChinhtri = new System.Windows.Forms.ComboBox();
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.dataGrid1 = new System.Windows.Forms.DataGrid();
            this.panel8 = new System.Windows.Forms.Panel();
            this.cbpBP_loc = new System.Windows.Forms.ComboBox();
            this.txtTimnhanh = new System.Windows.Forms.TextBox();
            this.label42 = new System.Windows.Forms.Label();
            this.ilsIcons32 = new System.Windows.Forms.ImageList(this.components);
            this.panel6 = new System.Windows.Forms.Panel();
            this.toolStrip2 = new System.Windows.Forms.ToolStrip();
            this.tmn_congtac = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
            this.tmn_daotao = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
            this.tmn_hopdong = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
            this.tmn_giacanh = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
            this.tmn_nuocngoai = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.tmn_capso = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.tmn_suckhoe = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
            this.tmn_doanthe = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
            this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
            this.pBarcode = new System.Windows.Forms.PictureBox();
            this.label101 = new System.Windows.Forms.Label();
            this.txtLan_hd = new System.Windows.Forms.TextBox();
            this.groupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgrThanhVienGD_ct)).BeginInit();
            this.tabllnv.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.uiTab1)).BeginInit();
            this.uiTab1.SuspendLayout();
            this.uiTabPage3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox2)).BeginInit();
            this.uiGroupBox2.SuspendLayout();
            this.groupBox6.SuspendLayout();
            this.p_hdbantg.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.num_sothangtbnh_hd)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.num_sothanghd_hd)).BeginInit();
            this.p_thuviec.SuspendLayout();
            this.uiTabPage1.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.panel4.SuspendLayout();
            this.groupBox4.SuspendLayout();
            this.uiTabPage2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox1)).BeginInit();
            this.uiGroupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dgrDaoTao)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgrQTDTCoQuan)).BeginInit();
            this.panel5.SuspendLayout();
            this.groupDT.SuspendLayout();
            this.groupDTCQ.SuspendLayout();
            this.uiTabPage4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox3)).BeginInit();
            this.uiGroupBox3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
            this.panel7.SuspendLayout();
            this.uiTabPage5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox4)).BeginInit();
            this.uiGroupBox4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
            this.panel9.SuspendLayout();
            this.uiTabPage6.SuspendLayout();
            this.panel10.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox7)).BeginInit();
            this.uiGroupBox7.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox6)).BeginInit();
            this.uiGroupBox6.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox5)).BeginInit();
            this.uiGroupBox5.SuspendLayout();
            this.uiTabPage7.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox8)).BeginInit();
            this.uiGroupBox8.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).BeginInit();
            this.panel11.SuspendLayout();
            this.panel3.SuspendLayout();
            this.groupBox5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ptb)).BeginInit();
            this.groupBox2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.picNhanVien)).BeginInit();
            this.panel1.SuspendLayout();
            this.tabPage2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
            this.panel8.SuspendLayout();
            this.panel6.SuspendLayout();
            this.toolStrip2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pBarcode)).BeginInit();
            this.SuspendLayout();
            // 
            // dtpNgayCongTac
            // 
            this.dtpNgayCongTac.BackColor = System.Drawing.Color.White;
            this.dtpNgayCongTac.Enabled = false;
            this.dtpNgayCongTac.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dtpNgayCongTac.ForeColor = System.Drawing.Color.Navy;
            this.dtpNgayCongTac.Location = new System.Drawing.Point(115, 354);
            this.dtpNgayCongTac.Mask = "##/##/####";
            this.dtpNgayCongTac.Name = "dtpNgayCongTac";
            this.dtpNgayCongTac.Size = new System.Drawing.Size(104, 23);
            this.dtpNgayCongTac.TabIndex = 35;
            this.dtpNgayCongTac.Text = "__/__/____";
            this.dtpNgayCongTac.Validated += new System.EventHandler(this.dtpNgayCongTac_Validated);
            this.dtpNgayCongTac.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dtpNgayCongTac_KeyDown);
            // 
            // label27
            // 
            this.label27.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label27.ForeColor = System.Drawing.Color.Blue;
            this.label27.Location = new System.Drawing.Point(3, 14);
            this.label27.Name = "label27";
            this.label27.Size = new System.Drawing.Size(36, 13);
            this.label27.TabIndex = 80;
            this.label27.Text = "Tổng";
            this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtTSo
            // 
            this.txtTSo.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTSo.ForeColor = System.Drawing.Color.Red;
            this.txtTSo.Location = new System.Drawing.Point(41, 10);
            this.txtTSo.Name = "txtTSo";
            this.txtTSo.ReadOnly = true;
            this.txtTSo.Size = new System.Drawing.Size(51, 22);
            this.txtTSo.TabIndex = 81;
            this.txtTSo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtTSo.WordWrap = false;
            // 
            // lblCT
            // 
            this.lblCT.AutoSize = true;
            this.lblCT.Cursor = System.Windows.Forms.Cursors.Hand;
            this.lblCT.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCT.ForeColor = System.Drawing.Color.Blue;
            this.lblCT.Location = new System.Drawing.Point(43, 15);
            this.lblCT.Name = "lblCT";
            this.lblCT.Size = new System.Drawing.Size(50, 13);
            this.lblCT.TabIndex = 4;
            this.lblCT.Text = "Công tác";
            this.toolTip1.SetToolTip(this.lblCT, "Quá trình công tác");
            this.lblCT.Click += new System.EventHandler(this.lblCT_Click);
            // 
            // checkCT
            // 
            this.checkCT.BackColor = System.Drawing.SystemColors.Control;
            this.checkCT.Enabled = false;
            this.checkCT.ForeColor = System.Drawing.Color.Red;
            this.checkCT.Location = new System.Drawing.Point(8, 11);
            this.checkCT.Name = "checkCT";
            this.checkCT.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.checkCT.Size = new System.Drawing.Size(16, 24);
            this.checkCT.TabIndex = 0;
            this.checkCT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.checkCT.UseVisualStyleBackColor = false;
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.pictureBox2);
            this.groupBox1.Controls.Add(this.pictureBox8);
            this.groupBox1.Controls.Add(this.checkDThe);
            this.groupBox1.Controls.Add(this.lblDThe);
            this.groupBox1.Controls.Add(this.pictureBox7);
            this.groupBox1.Controls.Add(this.checkSK);
            this.groupBox1.Controls.Add(this.lblSK);
            this.groupBox1.Controls.Add(this.pictureBox6);
            this.groupBox1.Controls.Add(this.checkCS);
            this.groupBox1.Controls.Add(this.lblCS);
            this.groupBox1.Controls.Add(this.pictureBox5);
            this.groupBox1.Controls.Add(this.checkNN);
            this.groupBox1.Controls.Add(this.lblNN);
            this.groupBox1.Controls.Add(this.pictureBox4);
            this.groupBox1.Controls.Add(this.checkGC);
            this.groupBox1.Controls.Add(this.lblGC);
            this.groupBox1.Controls.Add(this.pictureBox3);
            this.groupBox1.Controls.Add(this.pictureBox1);
            this.groupBox1.Controls.Add(this.checkHD);
            this.groupBox1.Controls.Add(this.lblHD);
            this.groupBox1.Controls.Add(this.checkDT);
            this.groupBox1.Controls.Add(this.lblDT);
            this.groupBox1.Controls.Add(this.checkCT);
            this.groupBox1.Controls.Add(this.lblCT);
            this.groupBox1.ForeColor = System.Drawing.Color.Navy;
            this.groupBox1.Location = new System.Drawing.Point(548, 494);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(216, 85);
            this.groupBox1.TabIndex = 67;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Quản lý nhân viên";
            // 
            // pictureBox2
            // 
            this.pictureBox2.Cursor = System.Windows.Forms.Cursors.Hand;
            this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
            this.pictureBox2.Location = new System.Drawing.Point(24, 13);
            this.pictureBox2.Name = "pictureBox2";
            this.pictureBox2.Size = new System.Drawing.Size(16, 16);
            this.pictureBox2.TabIndex = 171;
            this.pictureBox2.TabStop = false;
            // 
            // pictureBox8
            // 
            this.pictureBox8.Cursor = System.Windows.Forms.Cursors.Hand;
            this.pictureBox8.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox8.Image")));
            this.pictureBox8.Location = new System.Drawing.Point(128, 64);
            this.pictureBox8.Name = "pictureBox8";
            this.pictureBox8.Size = new System.Drawing.Size(16, 16);
            this.pictureBox8.TabIndex = 170;
            this.pictureBox8.TabStop = false;
            // 
            // checkDThe
            // 
            this.checkDThe.BackColor = System.Drawing.SystemColors.Control;
            this.checkDThe.Enabled = false;
            this.checkDThe.ForeColor = System.Drawing.Color.Red;
            this.checkDThe.Location = new System.Drawing.Point(112, 59);
            this.checkDThe.Name = "checkDThe";
            this.checkDThe.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.checkDThe.Size = new System.Drawing.Size(16, 24);
            this.checkDThe.TabIndex = 11;
            this.checkDThe.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.checkDThe.UseVisualStyleBackColor = false;
            // 
            // lblDThe
            // 
            this.lblDThe.AutoSize = true;
            this.lblDThe.Cursor = System.Windows.Forms.Cursors.Hand;
            this.lblDThe.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblDThe.ForeColor = System.Drawing.Color.Blue;
            this.lblDThe.Location = new System.Drawing.Point(145, 64);
            this.lblDThe.Name = "lblDThe";
            this.lblDThe.Size = new System.Drawing.Size(51, 13);
            this.lblDThe.TabIndex = 15;
            this.lblDThe.Text = "Đoàn thể";
            this.toolTip1.SetToolTip(this.lblDThe, "Thông tin về Đoàn, Đảng");
            this.lblDThe.Click += new System.EventHandler(this.lblDThe_Click_1);
            // 
            // pictureBox7
            // 
            this.pictureBox7.Cursor = System.Windows.Forms.Cursors.Hand;
            this.pictureBox7.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox7.Image")));
            this.pictureBox7.Location = new System.Drawing.Point(128, 48);
            this.pictureBox7.Name = "pictureBox7";
            this.pictureBox7.Size = new System.Drawing.Size(16, 16);
            this.pictureBox7.TabIndex = 167;
            this.pictureBox7.TabStop = false;
            // 
            // checkSK
            // 
            this.checkSK.BackColor = System.Drawing.SystemColors.Control;
            this.checkSK.Enabled = false;
            this.checkSK.ForeColor = System.Drawing.Color.Red;
            this.checkSK.Location = new System.Drawing.Point(112, 44);
            this.checkSK.Name = "checkSK";
            this.checkSK.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.checkSK.Size = new System.Drawing.Size(16, 24);
            this.checkSK.TabIndex = 10;
            this.checkSK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.checkSK.UseVisualStyleBackColor = false;
            // 
            // lblSK
            // 
            this.lblSK.AutoSize = true;
            this.lblSK.Cursor = System.Windows.Forms.Cursors.Hand;
            this.lblSK.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblSK.ForeColor = System.Drawing.Color.Blue;
            this.lblSK.Location = new System.Drawing.Point(144, 47);
            this.lblSK.Name = "lblSK";
            this.lblSK.Size = new System.Drawing.Size(53, 13);
            this.lblSK.TabIndex = 14;
            this.lblSK.Text = "Sức khỏe";
            this.toolTip1.SetToolTip(this.lblSK, "Thông tin về sức khoẻ");
            this.lblSK.Click += new System.EventHandler(this.lblSK_Click);
            // 
            // pictureBox6
            // 
            this.pictureBox6.Cursor = System.Windows.Forms.Cursors.Hand;
            this.pictureBox6.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox6.Image")));
            this.pictureBox6.Location = new System.Drawing.Point(128, 31);
            this.pictureBox6.Name = "pictureBox6";
            this.pictureBox6.Size = new System.Drawing.Size(16, 16);
            this.pictureBox6.TabIndex = 164;
            this.pictureBox6.TabStop = false;
            // 
            // checkCS
            // 
            this.checkCS.BackColor = System.Drawing.SystemColors.Control;
            this.checkCS.Enabled = false;
            this.checkCS.ForeColor = System.Drawing.Color.Red;
            this.checkCS.Location = new System.Drawing.Point(112, 27);
            this.checkCS.Name = "checkCS";
            this.checkCS.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.checkCS.Size = new System.Drawing.Size(16, 24);
            this.checkCS.TabIndex = 9;
            this.checkCS.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.checkCS.UseVisualStyleBackColor = false;
            // 
            // lblCS
            // 
            this.lblCS.AutoSize = true;
            this.lblCS.Cursor = System.Windows.Forms.Cursors.Hand;
            this.lblCS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblCS.ForeColor = System.Drawing.Color.Blue;
            this.lblCS.Location = new System.Drawing.Point(144, 31);
            this.lblCS.Name = "lblCS";
            this.lblCS.Size = new System.Drawing.Size(40, 13);
            this.lblCS.TabIndex = 13;
            this.lblCS.Text = "Cấp sổ";
            this.toolTip1.SetToolTip(this.lblCS, "Thông tin về cấp sổ");
            this.lblCS.Click += new System.EventHandler(this.lblCS_Click);
            // 
            // pictureBox5
            // 
            this.pictureBox5.Cursor = System.Windows.Forms.Cursors.Hand;
            this.pictureBox5.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox5.Image")));
            this.pictureBox5.Location = new System.Drawing.Point(128, 14);
            this.pictureBox5.Name = "pictureBox5";
            this.pictureBox5.Size = new System.Drawing.Size(16, 16);
            this.pictureBox5.TabIndex = 161;
            this.pictureBox5.TabStop = false;
            // 
            // checkNN
            // 
            this.checkNN.BackColor = System.Drawing.SystemColors.Control;
            this.checkNN.Enabled = false;
            this.checkNN.ForeColor = System.Drawing.Color.Red;
            this.checkNN.Location = new System.Drawing.Point(112, 10);
            this.checkNN.Name = "checkNN";
            this.checkNN.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.checkNN.Size = new System.Drawing.Size(16, 24);
            this.checkNN.TabIndex = 8;
            this.checkNN.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.checkNN.UseVisualStyleBackColor = false;
            // 
            // lblNN
            // 
            this.lblNN.AutoSize = true;
            this.lblNN.Cursor = System.Windows.Forms.Cursors.Hand;
            this.lblNN.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblNN.ForeColor = System.Drawing.Color.Blue;
            this.lblNN.Location = new System.Drawing.Point(144, 14);
            this.lblNN.Name = "lblNN";
            this.lblNN.Size = new System.Drawing.Size(62, 13);
            this.lblNN.TabIndex = 12;
            this.lblNN.Text = "Nước ngoài";
            this.toolTip1.SetToolTip(this.lblNN, "Quá trình công tác ở nước ngoài");
            this.lblNN.Click += new System.EventHandler(this.lblNN_Click);
            // 
            // pictureBox4
            // 
            this.pictureBox4.Cursor = System.Windows.Forms.Cursors.Hand;
            this.pictureBox4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox4.Image")));
            this.pictureBox4.Location = new System.Drawing.Point(24, 62);
            this.pictureBox4.Name = "pictureBox4";
            this.pictureBox4.Size = new System.Drawing.Size(16, 16);
            this.pictureBox4.TabIndex = 158;
            this.pictureBox4.TabStop = false;
            // 
            // checkGC
            // 
            this.checkGC.BackColor = System.Drawing.SystemColors.Control;
            this.checkGC.Enabled = false;
            this.checkGC.ForeColor = System.Drawing.Color.Red;
            this.checkGC.Location = new System.Drawing.Point(8, 57);
            this.checkGC.Name = "checkGC";
            this.checkGC.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.checkGC.Size = new System.Drawing.Size(16, 24);
            this.checkGC.TabIndex = 3;
            this.checkGC.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.checkGC.UseVisualStyleBackColor = false;
            // 
            // lblGC
            // 
            this.lblGC.AutoSize = true;
            this.lblGC.Cursor = System.Windows.Forms.Cursors.Hand;
            this.lblGC.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblGC.ForeColor = System.Drawing.Color.Blue;
            this.lblGC.Location = new System.Drawing.Point(43, 64);
            this.lblGC.Name = "lblGC";
            this.lblGC.Size = new System.Drawing.Size(50, 13);
            this.lblGC.TabIndex = 7;
            this.lblGC.Text = "Gia cảnh";
            this.toolTip1.SetToolTip(this.lblGC, "Thông tin về gia cảnh");
            this.lblGC.Click += new System.EventHandler(this.lblGC_Click);
            // 
            // pictureBox3
            // 
            this.pictureBox3.Cursor = System.Windows.Forms.Cursors.Hand;
            this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
            this.pictureBox3.Location = new System.Drawing.Point(24, 46);
            this.pictureBox3.Name = "pictureBox3";
            this.pictureBox3.Size = new System.Drawing.Size(16, 16);
            this.pictureBox3.TabIndex = 155;
            this.pictureBox3.TabStop = false;
            // 
            // pictureBox1
            // 
            this.pictureBox1.Cursor = System.Windows.Forms.Cursors.Hand;
            this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
            this.pictureBox1.Location = new System.Drawing.Point(24, 29);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(16, 16);
            this.pictureBox1.TabIndex = 153;
            this.pictureBox1.TabStop = false;
            // 
            // checkHD
            // 
            this.checkHD.BackColor = System.Drawing.SystemColors.Control;
            this.checkHD.Enabled = false;
            this.checkHD.ForeColor = System.Drawing.Color.Red;
            this.checkHD.Location = new System.Drawing.Point(8, 42);
            this.checkHD.Name = "checkHD";
            this.checkHD.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.checkHD.Size = new System.Drawing.Size(16, 24);
            this.checkHD.TabIndex = 2;
            this.checkHD.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.checkHD.UseVisualStyleBackColor = false;
            // 
            // lblHD
            // 
            this.lblHD.AutoSize = true;
            this.lblHD.Cursor = System.Windows.Forms.Cursors.Hand;
            this.lblHD.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblHD.ForeColor = System.Drawing.Color.Blue;
            this.lblHD.Location = new System.Drawing.Point(42, 46);
            this.lblHD.Name = "lblHD";
            this.lblHD.Size = new System.Drawing.Size(55, 13);
            this.lblHD.TabIndex = 6;
            this.lblHD.Text = "Hợp đồng";
            this.toolTip1.SetToolTip(this.lblHD, "Thông tin hợp đồng");
            this.lblHD.Click += new System.EventHandler(this.lblHD_Click);
            // 
            // checkDT
            // 
            this.checkDT.BackColor = System.Drawing.SystemColors.Control;
            this.checkDT.Enabled = false;
            this.checkDT.ForeColor = System.Drawing.Color.Blue;
            this.checkDT.Location = new System.Drawing.Point(8, 26);
            this.checkDT.Name = "checkDT";
            this.checkDT.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.checkDT.Size = new System.Drawing.Size(16, 24);
            this.checkDT.TabIndex = 1;
            this.checkDT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.checkDT.UseVisualStyleBackColor = false;
            // 
            // lblDT
            // 
            this.lblDT.AutoSize = true;
            this.lblDT.Cursor = System.Windows.Forms.Cursors.Hand;
            this.lblDT.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblDT.ForeColor = System.Drawing.Color.Blue;
            this.lblDT.Location = new System.Drawing.Point(44, 30);
            this.lblDT.Name = "lblDT";
            this.lblDT.Size = new System.Drawing.Size(45, 13);
            this.lblDT.TabIndex = 5;
            this.lblDT.Text = "Đào tạo";
            this.toolTip1.SetToolTip(this.lblDT, "Quá trình đào tạo");
            this.lblDT.Click += new System.EventHandler(this.lblDT_Click);
            // 
            // cboNgoaingu3
            // 
            this.cboNgoaingu3.BackColor = System.Drawing.Color.White;
            this.cboNgoaingu3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cboNgoaingu3.Enabled = false;
            this.cboNgoaingu3.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboNgoaingu3.ForeColor = System.Drawing.Color.Navy;
            this.cboNgoaingu3.Location = new System.Drawing.Point(349, 521);
            this.cboNgoaingu3.Name = "cboNgoaingu3";
            this.cboNgoaingu3.Size = new System.Drawing.Size(168, 22);
            this.cboNgoaingu3.TabIndex = 36;
            this.cboNgoaingu3.Visible = false;
            // 
            // label28
            // 
            this.label28.AutoSize = true;
            this.label28.ForeColor = System.Drawing.Color.Navy;
            this.label28.Location = new System.Drawing.Point(276, 525);
            this.label28.Name = "label28";
            this.label28.Size = new System.Drawing.Size(68, 13);
            this.label28.TabIndex = 73;
            this.label28.Text = "Ngoại ngữ 3:";
            this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.label28.Visible = false;
            // 
            // cboNgoaingu2
            // 
            this.cboNgoaingu2.BackColor = System.Drawing.Color.White;
            this.cboNgoaingu2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cboNgoaingu2.Enabled = false;
            this.cboNgoaingu2.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboNgoaingu2.ForeColor = System.Drawing.Color.Navy;
            this.cboNgoaingu2.Location = new System.Drawing.Point(109, 520);
            this.cboNgoaingu2.Name = "cboNgoaingu2";
            this.cboNgoaingu2.Size = new System.Drawing.Size(160, 22);
            this.cboNgoaingu2.TabIndex = 35;
            this.cboNgoaingu2.Visible = false;
            // 
            // label30
            // 
            this.label30.AutoSize = true;
            this.label30.ForeColor = System.Drawing.Color.Navy;
            this.label30.Location = new System.Drawing.Point(38, 527);
            this.label30.Name = "label30";
            this.label30.Size = new System.Drawing.Size(68, 13);
            this.label30.TabIndex = 72;
            this.label30.Text = "Ngoại ngữ 2:";
            this.label30.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.label30.Visible = false;
            // 
            // cboNgoaingu4
            // 
            this.cboNgoaingu4.BackColor = System.Drawing.Color.White;
            this.cboNgoaingu4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cboNgoaingu4.Enabled = false;
            this.cboNgoaingu4.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboNgoaingu4.ForeColor = System.Drawing.Color.Navy;
            this.cboNgoaingu4.Location = new System.Drawing.Point(589, 520);
            this.cboNgoaingu4.Name = "cboNgoaingu4";
            this.cboNgoaingu4.Size = new System.Drawing.Size(160, 22);
            this.cboNgoaingu4.TabIndex = 37;
            this.cboNgoaingu4.Visible = false;
            // 
            // label33
            // 
            this.label33.AutoSize = true;
            this.label33.ForeColor = System.Drawing.Color.Navy;
            this.label33.Location = new System.Drawing.Point(515, 524);
            this.label33.Name = "label33";
            this.label33.Size = new System.Drawing.Size(68, 13);
            this.label33.TabIndex = 74;
            this.label33.Text = "Ngoại ngữ 4:";
            this.label33.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.label33.Visible = false;
            // 
            // toolTip1
            // 
            this.toolTip1.AutoPopDelay = 5000;
            this.toolTip1.InitialDelay = 5;
            this.toolTip1.ReshowDelay = 100;
            // 
            // butEdit
            // 
            this.butEdit.BackColor = System.Drawing.SystemColors.Control;
            this.butEdit.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.butEdit.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(180)))));
            this.butEdit.Image = ((System.Drawing.Image)(resources.GetObject("butEdit.Image")));
            this.butEdit.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butEdit.Location = new System.Drawing.Point(457, 6);
            this.butEdit.Name = "butEdit";
            this.butEdit.Size = new System.Drawing.Size(75, 28);
            this.butEdit.TabIndex = 2;
            this.butEdit.Text = "  &Sửa";
            this.toolTip1.SetToolTip(this.butEdit, "Alt+S");
            this.butEdit.UseVisualStyleBackColor = true;
            this.butEdit.Click += new System.EventHandler(this.butEdit_Click);
            // 
            // butXem
            // 
            this.butXem.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.butXem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(180)))));
            this.butXem.Image = ((System.Drawing.Image)(resources.GetObject("butXem.Image")));
            this.butXem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butXem.Location = new System.Drawing.Point(852, 6);
            this.butXem.Name = "butXem";
            this.butXem.Size = new System.Drawing.Size(75, 28);
            this.butXem.TabIndex = 6;
            this.butXem.Text = "    &Xem";
            this.toolTip1.SetToolTip(this.butXem, "Alt+X");
            this.butXem.Click += new System.EventHandler(this.butXem_Click);
            // 
            // butTim
            // 
            this.butTim.BackColor = System.Drawing.SystemColors.Control;
            this.butTim.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.butTim.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(180)))));
            this.butTim.Image = ((System.Drawing.Image)(resources.GetObject("butTim.Image")));
            this.butTim.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butTim.Location = new System.Drawing.Point(773, 6);
            this.butTim.Name = "butTim";
            this.butTim.Size = new System.Drawing.Size(75, 28);
            this.butTim.TabIndex = 5;
            this.butTim.Text = "   &Tìm";
            this.toolTip1.SetToolTip(this.butTim, "Alt+I");
            this.butTim.UseVisualStyleBackColor = true;
            this.butTim.Click += new System.EventHandler(this.butTim_Click);
            // 
            // butCancel
            // 
            this.butCancel.Enabled = false;
            this.butCancel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.butCancel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.butCancel.Image = ((System.Drawing.Image)(resources.GetObject("butCancel.Image")));
            this.butCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butCancel.Location = new System.Drawing.Point(694, 6);
            this.butCancel.Name = "butCancel";
            this.butCancel.Size = new System.Drawing.Size(75, 28);
            this.butCancel.TabIndex = 4;
            this.butCancel.Text = "&Bỏ qua";
            this.butCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.butCancel, "Alt+B");
            this.butCancel.UseVisualStyleBackColor = true;
            this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
            // 
            // butTruoc
            // 
            this.butTruoc.BackColor = System.Drawing.SystemColors.Control;
            this.butTruoc.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.butTruoc.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(180)))));
            this.butTruoc.Image = global::Human.Properties.Resources.PRVREC_S;
            this.butTruoc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butTruoc.Location = new System.Drawing.Point(98, 6);
            this.butTruoc.Name = "butTruoc";
            this.butTruoc.Size = new System.Drawing.Size(56, 26);
            this.butTruoc.TabIndex = 43;
            this.butTruoc.Text = "  &Trước";
            this.butTruoc.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.butTruoc, "Alt+R");
            this.butTruoc.UseVisualStyleBackColor = true;
            this.butTruoc.Click += new System.EventHandler(this.butTruoc_Click);
            // 
            // butThem
            // 
            this.butThem.BackColor = System.Drawing.SystemColors.Control;
            this.butThem.Enabled = false;
            this.butThem.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.butThem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(180)))));
            this.butThem.Image = ((System.Drawing.Image)(resources.GetObject("butThem.Image")));
            this.butThem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butThem.Location = new System.Drawing.Point(615, 6);
            this.butThem.Name = "butThem";
            this.butThem.Size = new System.Drawing.Size(75, 28);
            this.butThem.TabIndex = 0;
            this.butThem.Text = "   &Lưu";
            this.toolTip1.SetToolTip(this.butThem, "Alt+L");
            this.butThem.UseVisualStyleBackColor = true;
            this.butThem.Click += new System.EventHandler(this.butThem_Click);
            // 
            // butHuy
            // 
            this.butHuy.BackColor = System.Drawing.SystemColors.Control;
            this.butHuy.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.butHuy.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(180)))));
            this.butHuy.Image = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
            this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butHuy.Location = new System.Drawing.Point(536, 6);
            this.butHuy.Name = "butHuy";
            this.butHuy.Size = new System.Drawing.Size(75, 28);
            this.butHuy.TabIndex = 3;
            this.butHuy.Text = "  &Hủy";
            this.toolTip1.SetToolTip(this.butHuy, "Alt+H");
            this.butHuy.UseVisualStyleBackColor = true;
            this.butHuy.Click += new System.EventHandler(this.butHuy_Click);
            // 
            // butTiep
            // 
            this.butTiep.BackColor = System.Drawing.SystemColors.Control;
            this.butTiep.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.butTiep.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(180)))));
            this.butTiep.Image = ((System.Drawing.Image)(resources.GetObject("butTiep.Image")));
            this.butTiep.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butTiep.Location = new System.Drawing.Point(378, 6);
            this.butTiep.Name = "butTiep";
            this.butTiep.Size = new System.Drawing.Size(75, 28);
            this.butTiep.TabIndex = 1;
            this.butTiep.Text = "  Thêm";
            this.toolTip1.SetToolTip(this.butTiep, "Alt+T");
            this.butTiep.UseVisualStyleBackColor = true;
            this.butTiep.Click += new System.EventHandler(this.butTiep_Click);
            // 
            // butSau
            // 
            this.butSau.BackColor = System.Drawing.SystemColors.Control;
            this.butSau.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.butSau.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(180)))));
            this.butSau.Image = ((System.Drawing.Image)(resources.GetObject("butSau.Image")));
            this.butSau.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.butSau.Location = new System.Drawing.Point(158, 6);
            this.butSau.Name = "butSau";
            this.butSau.Size = new System.Drawing.Size(56, 26);
            this.butSau.TabIndex = 42;
            this.butSau.Text = "&Sau";
            this.butSau.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.toolTip1.SetToolTip(this.butSau, "Alt+N");
            this.butSau.UseVisualStyleBackColor = true;
            this.butSau.Click += new System.EventHandler(this.butSau_Click);
            // 
            // butKetThuc
            // 
            this.butKetThuc.BackColor = System.Drawing.SystemColors.Control;
            this.butKetThuc.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.butKetThuc.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.butKetThuc.Image = global::Human.Properties.Resources.close_r;
            this.butKetThuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butKetThuc.Location = new System.Drawing.Point(931, 6);
            this.butKetThuc.Name = "butKetThuc";
            this.butKetThuc.Size = new System.Drawing.Size(75, 28);
            this.butKetThuc.TabIndex = 7;
            this.butKetThuc.Text = "&Kết thúc";
            this.butKetThuc.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.butKetThuc, "Alt+K");
            this.butKetThuc.UseVisualStyleBackColor = true;
            this.butKetThuc.Click += new System.EventHandler(this.butKetThuc_Click);
            // 
            // cboChucdanh
            // 
            this.cboChucdanh.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cboChucdanh.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cboChucdanh.Enabled = false;
            this.cboChucdanh.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboChucdanh.ForeColor = System.Drawing.Color.Navy;
            this.cboChucdanh.Location = new System.Drawing.Point(692, 83);
            this.cboChucdanh.Name = "cboChucdanh";
            this.cboChucdanh.Size = new System.Drawing.Size(188, 22);
            this.cboChucdanh.TabIndex = 31;
            this.toolTip1.SetToolTip(this.cboChucdanh, "Chọn chức danh");
            this.cboChucdanh.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cboChucdanh_KeyDown_1);
            // 
            // label12
            // 
            this.label12.ForeColor = System.Drawing.Color.DarkBlue;
            this.label12.Location = new System.Drawing.Point(0, 11);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(39, 13);
            this.label12.TabIndex = 43;
            this.label12.Text = "Mã số:";
            this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.label12, "Nhập mã nhân viên");
            // 
            // txtMaSoNV
            // 
            this.txtMaSoNV.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtMaSoNV.Enabled = false;
            this.txtMaSoNV.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtMaSoNV.ForeColor = System.Drawing.Color.Blue;
            this.txtMaSoNV.Location = new System.Drawing.Point(37, 6);
            this.txtMaSoNV.MaxLength = 5;
            this.txtMaSoNV.Name = "txtMaSoNV";
            this.txtMaSoNV.ReadOnly = true;
            this.txtMaSoNV.Size = new System.Drawing.Size(75, 22);
            this.txtMaSoNV.TabIndex = 0;
            this.txtMaSoNV.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.toolTip1.SetToolTip(this.txtMaSoNV, "Nhập mã nhân viên");
            this.txtMaSoNV.WordWrap = false;
            this.txtMaSoNV.Validated += new System.EventHandler(this.txtMaSoNV_Validated);
            this.txtMaSoNV.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtMaSoNV_KeyDown);
            this.txtMaSoNV.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtMaSoNV_KeyPress);
            // 
            // txtNoiCapCMND
            // 
            this.txtNoiCapCMND.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtNoiCapCMND.Enabled = false;
            this.txtNoiCapCMND.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtNoiCapCMND.ForeColor = System.Drawing.Color.Navy;
            this.txtNoiCapCMND.Location = new System.Drawing.Point(609, 219);
            this.txtNoiCapCMND.MaxLength = 30;
            this.txtNoiCapCMND.Name = "txtNoiCapCMND";
            this.txtNoiCapCMND.Size = new System.Drawing.Size(90, 22);
            this.txtNoiCapCMND.TabIndex = 29;
            this.toolTip1.SetToolTip(this.txtNoiCapCMND, "Nhập nơi cấp CMND");
            this.txtNoiCapCMND.WordWrap = false;
            this.txtNoiCapCMND.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtNoiCapCMND_KeyDown);
            this.txtNoiCapCMND.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtNoiCapCMND_KeyPress);
            this.txtNoiCapCMND.Validating += new System.ComponentModel.CancelEventHandler(this.txtNoiCapCMND_Validating);
            // 
            // cboTonGiao
            // 
            this.cboTonGiao.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cboTonGiao.Enabled = false;
            this.cboTonGiao.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboTonGiao.ForeColor = System.Drawing.Color.Navy;
            this.cboTonGiao.Location = new System.Drawing.Point(429, 87);
            this.cboTonGiao.Name = "cboTonGiao";
            this.cboTonGiao.Size = new System.Drawing.Size(76, 22);
            this.cboTonGiao.TabIndex = 14;
            this.toolTip1.SetToolTip(this.cboTonGiao, "Chọn tôn giáo");
            this.cboTonGiao.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cboTonGiao_KeyDown);
            // 
            // txtCellphone
            // 
            this.txtCellphone.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtCellphone.Enabled = false;
            this.txtCellphone.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtCellphone.ForeColor = System.Drawing.Color.Navy;
            this.txtCellphone.Location = new System.Drawing.Point(271, 219);
            this.txtCellphone.MaxLength = 15;
            this.txtCellphone.Name = "txtCellphone";
            this.txtCellphone.Size = new System.Drawing.Size(113, 22);
            this.txtCellphone.TabIndex = 27;
            this.toolTip1.SetToolTip(this.txtCellphone, "Nhập điện thoại di động");
            this.txtCellphone.WordWrap = false;
            this.txtCellphone.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown);
            this.txtCellphone.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtTGBN_KeyPress);
            // 
            // cboPhai
            // 
            this.cboPhai.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cboPhai.Enabled = false;
            this.cboPhai.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboPhai.ForeColor = System.Drawing.Color.Navy;
            this.cboPhai.Location = new System.Drawing.Point(37, 87);
            this.cboPhai.Name = "cboPhai";
            this.cboPhai.Size = new System.Drawing.Size(75, 22);
            this.cboPhai.TabIndex = 11;
            this.toolTip1.SetToolTip(this.cboPhai, "Chọn phái");
            this.cboPhai.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cboPhai_KeyDown);
            // 
            // txtnamsinh
            // 
            this.txtnamsinh.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtnamsinh.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtnamsinh.Enabled = false;
            this.txtnamsinh.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtnamsinh.ForeColor = System.Drawing.Color.Navy;
            this.txtnamsinh.Location = new System.Drawing.Point(735, 87);
            this.txtnamsinh.MaxLength = 4;
            this.txtnamsinh.Name = "txtnamsinh";
            this.txtnamsinh.Size = new System.Drawing.Size(94, 22);
            this.txtnamsinh.TabIndex = 16;
            this.toolTip1.SetToolTip(this.txtnamsinh, "Nhập năm sinh");
            this.txtnamsinh.WordWrap = false;
            this.txtnamsinh.Validated += new System.EventHandler(this.txtnamsinh_Validated);
            this.txtnamsinh.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtnamsinh_KeyDown);
            this.txtnamsinh.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtnamsinh_KeyPress);
            // 
            // cboTinhOHN
            // 
            this.cboTinhOHN.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cboTinhOHN.Enabled = false;
            this.cboTinhOHN.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboTinhOHN.ForeColor = System.Drawing.Color.Navy;
            this.cboTinhOHN.Location = new System.Drawing.Point(387, 193);
            this.cboTinhOHN.Name = "cboTinhOHN";
            this.cboTinhOHN.Size = new System.Drawing.Size(180, 22);
            this.cboTinhOHN.TabIndex = 24;
            this.toolTip1.SetToolTip(this.cboTinhOHN, "Chọn tỉnh ở hiện nay ");
            this.cboTinhOHN.SelectionChangeCommitted += new System.EventHandler(this.cboTinhOHN_SelectionChangeCommitted);
            this.cboTinhOHN.SelectedIndexChanged += new System.EventHandler(this.cboTinhOHN_SelectedIndexChanged);
            this.cboTinhOHN.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cboTinhOHN_KeyDown);
            // 
            // txtHoNV
            // 
            this.txtHoNV.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtHoNV.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtHoNV.Enabled = false;
            this.txtHoNV.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtHoNV.ForeColor = System.Drawing.Color.Navy;
            this.txtHoNV.Location = new System.Drawing.Point(37, 60);
            this.txtHoNV.MaxLength = 30;
            this.txtHoNV.Name = "txtHoNV";
            this.txtHoNV.Size = new System.Drawing.Size(75, 22);
            this.txtHoNV.TabIndex = 8;
            this.toolTip1.SetToolTip(this.txtHoNV, "Nhập vào họ lót");
            this.txtHoNV.WordWrap = false;
            this.txtHoNV.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHoNV_KeyDown);
            this.txtHoNV.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtHoNV_KeyPress);
            this.txtHoNV.Validating += new System.ComponentModel.CancelEventHandler(this.txtHoNV_Validating);
            // 
            // txtTenNV
            // 
            this.txtTenNV.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtTenNV.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtTenNV.Enabled = false;
            this.txtTenNV.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTenNV.ForeColor = System.Drawing.Color.Navy;
            this.txtTenNV.Location = new System.Drawing.Point(170, 60);
            this.txtTenNV.MaxLength = 10;
            this.txtTenNV.Name = "txtTenNV";
            this.txtTenNV.Size = new System.Drawing.Size(335, 22);
            this.txtTenNV.TabIndex = 9;
            this.toolTip1.SetToolTip(this.txtTenNV, "Nhập vào tên nhân viên");
            this.txtTenNV.WordWrap = false;
            this.txtTenNV.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtTenNV_KeyDown);
            this.txtTenNV.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtTenNV_KeyPress);
            // 
            // txtChucVu
            // 
            this.txtChucVu.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtChucVu.Enabled = false;
            this.txtChucVu.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtChucVu.ForeColor = System.Drawing.Color.Navy;
            this.txtChucVu.Location = new System.Drawing.Point(566, 6);
            this.txtChucVu.MaxLength = 3;
            this.txtChucVu.Name = "txtChucVu";
            this.txtChucVu.Size = new System.Drawing.Size(81, 22);
            this.txtChucVu.TabIndex = 3;
            this.txtChucVu.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.toolTip1.SetToolTip(this.txtChucVu, "Nhập mã chức vụ");
            this.txtChucVu.WordWrap = false;
            this.txtChucVu.Validated += new System.EventHandler(this.txtChucVu_Validated);
            this.txtChucVu.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtChucVu_KeyDown);
            this.txtChucVu.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtChucVu_KeyPress);
            // 
            // txtMVTat
            // 
            this.txtMVTat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtMVTat.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtMVTat.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtMVTat.Enabled = false;
            this.txtMVTat.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtMVTat.ForeColor = System.Drawing.Color.Navy;
            this.txtMVTat.Location = new System.Drawing.Point(566, 60);
            this.txtMVTat.MaxLength = 10;
            this.txtMVTat.Name = "txtMVTat";
            this.txtMVTat.Size = new System.Drawing.Size(263, 22);
            this.txtMVTat.TabIndex = 10;
            this.toolTip1.SetToolTip(this.txtMVTat, "Nhập tên viết tắt");
            this.txtMVTat.WordWrap = false;
            this.txtMVTat.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtMVTat_KeyDown);
            this.txtMVTat.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtMVTat_KeyPress);
            // 
            // txtNoiOHN
            // 
            this.txtNoiOHN.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtNoiOHN.Enabled = false;
            this.txtNoiOHN.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtNoiOHN.ForeColor = System.Drawing.Color.Navy;
            this.txtNoiOHN.Location = new System.Drawing.Point(71, 193);
            this.txtNoiOHN.MaxLength = 60;
            this.txtNoiOHN.Name = "txtNoiOHN";
            this.txtNoiOHN.Size = new System.Drawing.Size(313, 22);
            this.txtNoiOHN.TabIndex = 23;
            this.toolTip1.SetToolTip(this.txtNoiOHN, "Nhập chỗ ở hiện nay");
            this.txtNoiOHN.WordWrap = false;
            this.txtNoiOHN.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtNoiOHN_KeyDown);
            this.txtNoiOHN.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtNoiOHN_KeyPress);
            this.txtNoiOHN.Validating += new System.ComponentModel.CancelEventHandler(this.txtNoiOHN_Validating);
            // 
            // txtNoiSinh
            // 
            this.txtNoiSinh.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtNoiSinh.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtNoiSinh.Enabled = false;
            this.txtNoiSinh.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtNoiSinh.ForeColor = System.Drawing.Color.Navy;
            this.txtNoiSinh.Location = new System.Drawing.Point(71, 141);
            this.txtNoiSinh.MaxLength = 50;
            this.txtNoiSinh.Name = "txtNoiSinh";
            this.txtNoiSinh.Size = new System.Drawing.Size(758, 22);
            this.txtNoiSinh.TabIndex = 19;
            this.toolTip1.SetToolTip(this.txtNoiSinh, "Nhập nơi sinh");
            this.txtNoiSinh.WordWrap = false;
            this.txtNoiSinh.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtNoiSinh_KeyDown);
            this.txtNoiSinh.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtNoiSinh_KeyPress);
            // 
            // txtThuongTru
            // 
            this.txtThuongTru.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtThuongTru.Enabled = false;
            this.txtThuongTru.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtThuongTru.ForeColor = System.Drawing.Color.Navy;
            this.txtThuongTru.Location = new System.Drawing.Point(71, 166);
            this.txtThuongTru.MaxLength = 60;
            this.txtThuongTru.Name = "txtThuongTru";
            this.txtThuongTru.Size = new System.Drawing.Size(313, 22);
            this.txtThuongTru.TabIndex = 20;
            this.toolTip1.SetToolTip(this.txtThuongTru, "Nhập số nhà, đường, phường");
            this.txtThuongTru.WordWrap = false;
            this.txtThuongTru.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtThuongTru_KeyDown);
            this.txtThuongTru.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtThuongTru_KeyPress);
            // 
            // txtNguyenQuan
            // 
            this.txtNguyenQuan.Enabled = false;
            this.txtNguyenQuan.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtNguyenQuan.ForeColor = System.Drawing.Color.Navy;
            this.txtNguyenQuan.Location = new System.Drawing.Point(71, 114);
            this.txtNguyenQuan.MaxLength = 50;
            this.txtNguyenQuan.Name = "txtNguyenQuan";
            this.txtNguyenQuan.Size = new System.Drawing.Size(497, 22);
            this.txtNguyenQuan.TabIndex = 17;
            this.toolTip1.SetToolTip(this.txtNguyenQuan, "Nhập vào nguyên quán");
            this.txtNguyenQuan.WordWrap = false;
            this.txtNguyenQuan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtNguyenQuan_KeyDown);
            this.txtNguyenQuan.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtNguyenQuan_KeyPress);
            this.txtNguyenQuan.Validating += new System.ComponentModel.CancelEventHandler(this.txtNguyenQuan_Validating);
            // 
            // txtDienThoai
            // 
            this.txtDienThoai.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtDienThoai.Enabled = false;
            this.txtDienThoai.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtDienThoai.ForeColor = System.Drawing.Color.Navy;
            this.txtDienThoai.Location = new System.Drawing.Point(71, 219);
            this.txtDienThoai.MaxLength = 15;
            this.txtDienThoai.Name = "txtDienThoai";
            this.txtDienThoai.Size = new System.Drawing.Size(133, 22);
            this.txtDienThoai.TabIndex = 26;
            this.toolTip1.SetToolTip(this.txtDienThoai, "Nhập số điện thoại");
            this.txtDienThoai.WordWrap = false;
            this.txtDienThoai.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtDienThoai_KeyDown);
            this.txtDienThoai.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtDienThoai_KeyPress);
            // 
            // butChonHinh
            // 
            this.butChonHinh.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.butChonHinh.ForeColor = System.Drawing.Color.Navy;
            this.butChonHinh.Image = ((System.Drawing.Image)(resources.GetObject("butChonHinh.Image")));
            this.butChonHinh.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.butChonHinh.Location = new System.Drawing.Point(35, 124);
            this.butChonHinh.Name = "butChonHinh";
            this.butChonHinh.Size = new System.Drawing.Size(96, 26);
            this.butChonHinh.TabIndex = 63;
            this.butChonHinh.Text = "  Chọn hình ";
            this.toolTip1.SetToolTip(this.butChonHinh, "Chọn ảnh nhân viên");
            this.butChonHinh.Click += new System.EventHandler(this.butChonHinh_Click);
            this.butChonHinh.KeyDown += new System.Windows.Forms.KeyEventHandler(this.butChonHinh_KeyDown);
            // 
            // cboBoPhan
            // 
            this.cboBoPhan.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cboBoPhan.DropDownWidth = 240;
            this.cboBoPhan.Enabled = false;
            this.cboBoPhan.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboBoPhan.ForeColor = System.Drawing.Color.Navy;
            this.cboBoPhan.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.cboBoPhan.ItemHeight = 14;
            this.cboBoPhan.Location = new System.Drawing.Point(255, 6);
            this.cboBoPhan.Name = "cboBoPhan";
            this.cboBoPhan.Size = new System.Drawing.Size(250, 22);
            this.cboBoPhan.TabIndex = 2;
            this.cboBoPhan.Tag = "";
            this.toolTip1.SetToolTip(this.cboBoPhan, "Chọn tên bộ phận");
            this.cboBoPhan.SelectedIndexChanged += new System.EventHandler(this.cboBoPhan_SelectedIndexChanged);
            this.cboBoPhan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cboBoPhan_KeyDown);
            // 
            // txtTGBN
            // 
            this.txtTGBN.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtTGBN.Enabled = false;
            this.txtTGBN.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTGBN.ForeColor = System.Drawing.Color.DarkBlue;
            this.txtTGBN.Location = new System.Drawing.Point(400, 31);
            this.txtTGBN.Name = "txtTGBN";
            this.txtTGBN.Size = new System.Drawing.Size(45, 22);
            this.txtTGBN.TabIndex = 6;
            this.txtTGBN.Text = "0";
            this.txtTGBN.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.toolTip1.SetToolTip(this.txtTGBN, "Nhập thời gian được bổ nhiệm");
            this.txtTGBN.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtTGBN_KeyDown);
            this.txtTGBN.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtTGBN_KeyPress);
            // 
            // txtSotk
            // 
            this.txtSotk.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.txtSotk.Enabled = false;
            this.txtSotk.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtSotk.ForeColor = System.Drawing.Color.Navy;
            this.txtSotk.Location = new System.Drawing.Point(271, 272);
            this.txtSotk.MaxLength = 15;
            this.txtSotk.Name = "txtSotk";
            this.txtSotk.Size = new System.Drawing.Size(174, 22);
            this.txtSotk.TabIndex = 36;
            this.toolTip1.SetToolTip(this.txtSotk, "Nhập số điện thoại");
            this.txtSotk.WordWrap = false;
            this.txtSotk.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtSotk_KeyDown);
            // 
            // txtSoCMND
            // 
            this.txtSoCMND.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtSoCMND.Enabled = false;
            this.txtSoCMND.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtSoCMND.ForeColor = System.Drawing.Color.Navy;
            this.txtSoCMND.Location = new System.Drawing.Point(444, 219);
            this.txtSoCMND.MaxLength = 9;
            this.txtSoCMND.Name = "txtSoCMND";
            this.txtSoCMND.Size = new System.Drawing.Size(101, 22);
            this.txtSoCMND.TabIndex = 28;
            this.toolTip1.SetToolTip(this.txtSoCMND, "Nhập số chứng minh nhân dân");
            this.txtSoCMND.WordWrap = false;
            this.txtSoCMND.Validated += new System.EventHandler(this.txtSoCMND_Validated);
            this.txtSoCMND.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtSoCMND_KeyDown);
            this.txtSoCMND.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtSoCMND_KeyPress);
            this.txtSoCMND.Validating += new System.ComponentModel.CancelEventHandler(this.txtSoCMND_Validating);
            // 
            // cboDanToc
            // 
            this.cboDanToc.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cboDanToc.Enabled = false;
            this.cboDanToc.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboDanToc.ForeColor = System.Drawing.Color.Navy;
            this.cboDanToc.Location = new System.Drawing.Point(301, 87);
            this.cboDanToc.Name = "cboDanToc";
            this.cboDanToc.Size = new System.Drawing.Size(75, 22);
            this.cboDanToc.TabIndex = 13;
            this.toolTip1.SetToolTip(this.cboDanToc, "Chọn dân tộc");
            this.cboDanToc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cboDanToc_KeyDown);
            // 
            // txtMaBP
            // 
            this.txtMaBP.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtMaBP.Enabled = false;
            this.txtMaBP.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtMaBP.ForeColor = System.Drawing.Color.Navy;
            this.txtMaBP.Location = new System.Drawing.Point(170, 6);
            this.txtMaBP.MaxLength = 3;
            this.txtMaBP.Name = "txtMaBP";
            this.txtMaBP.Size = new System.Drawing.Size(83, 22);
            this.txtMaBP.TabIndex = 1;
            this.toolTip1.SetToolTip(this.txtMaBP, "Nhập mã bộ phận");
            this.txtMaBP.WordWrap = false;
            this.txtMaBP.Validated += new System.EventHandler(this.txtMaBP_Validated);
            this.txtMaBP.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtMaBP_KeyDown);
            // 
            // cboTinhThuongTru
            // 
            this.cboTinhThuongTru.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cboTinhThuongTru.Enabled = false;
            this.cboTinhThuongTru.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboTinhThuongTru.ForeColor = System.Drawing.Color.Navy;
            this.cboTinhThuongTru.Location = new System.Drawing.Point(387, 166);
            this.cboTinhThuongTru.Name = "cboTinhThuongTru";
            this.cboTinhThuongTru.Size = new System.Drawing.Size(180, 22);
            this.cboTinhThuongTru.TabIndex = 21;
            this.toolTip1.SetToolTip(this.cboTinhThuongTru, "Chọn tỉnh, thành phố thường trú");
            this.cboTinhThuongTru.SelectionChangeCommitted += new System.EventHandler(this.cboTinhThuongTru_SelectionChangeCommitted);
            this.cboTinhThuongTru.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cboTinhThuongTru_KeyDown);
            // 
            // label169
            // 
            this.label169.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label169.ForeColor = System.Drawing.Color.DarkBlue;
            this.label169.Location = new System.Drawing.Point(506, 11);
            this.label169.Name = "label169";
            this.label169.Size = new System.Drawing.Size(98, 16);
            this.label169.TabIndex = 272;
            this.label169.Text = "Thời gian:";
            this.label169.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.label169, "Số tháng hợp đồng");
            // 
            // cbo_hsbdhv_hd
            // 
            this.cbo_hsbdhv_hd.BackColor = System.Drawing.Color.White;
            this.cbo_hsbdhv_hd.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbo_hsbdhv_hd.ForeColor = System.Drawing.Color.Navy;
            this.cbo_hsbdhv_hd.Location = new System.Drawing.Point(289, 82);
            this.cbo_hsbdhv_hd.Name = "cbo_hsbdhv_hd";
            this.cbo_hsbdhv_hd.Size = new System.Drawing.Size(76, 22);
            this.cbo_hsbdhv_hd.TabIndex = 249;
            this.toolTip1.SetToolTip(this.cbo_hsbdhv_hd, "Hệ số bồi dưỡng hiện vật");
            // 
            // lbl_dh
            // 
            this.lbl_dh.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_dh.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_dh.Location = new System.Drawing.Point(6, 46);
            this.lbl_dh.Name = "lbl_dh";
            this.lbl_dh.Size = new System.Drawing.Size(51, 14);
            this.lbl_dh.TabIndex = 125;
            this.lbl_dh.Text = "Độc hại:";
            this.lbl_dh.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.lbl_dh, resources.GetString("lbl_dh.ToolTip"));
            // 
            // lbl_dt
            // 
            this.lbl_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_dt.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_dt.Location = new System.Drawing.Point(236, 46);
            this.lbl_dt.Name = "lbl_dt";
            this.lbl_dt.Size = new System.Drawing.Size(78, 13);
            this.lbl_dt.TabIndex = 135;
            this.lbl_dt.Text = "Đặc thù:";
            this.lbl_dt.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.lbl_dt, "\r\n");
            // 
            // lbl_ld
            // 
            this.lbl_ld.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_ld.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_ld.Location = new System.Drawing.Point(806, 20);
            this.lbl_ld.Name = "lbl_ld";
            this.lbl_ld.Size = new System.Drawing.Size(74, 17);
            this.lbl_ld.TabIndex = 121;
            this.lbl_ld.Text = "Lưu động:";
            this.lbl_ld.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.lbl_ld, resources.GetString("lbl_ld.ToolTip"));
            // 
            // lbl_db
            // 
            this.lbl_db.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_db.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_db.Location = new System.Drawing.Point(504, 20);
            this.lbl_db.Name = "lbl_db";
            this.lbl_db.Size = new System.Drawing.Size(79, 15);
            this.lbl_db.TabIndex = 123;
            this.lbl_db.Text = "PC đặc biệt:";
            this.lbl_db.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.lbl_db, resources.GetString("lbl_db.ToolTip"));
            // 
            // lbl_vk
            // 
            this.lbl_vk.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_vk.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_vk.Location = new System.Drawing.Point(114, 20);
            this.lbl_vk.Name = "lbl_vk";
            this.lbl_vk.Size = new System.Drawing.Size(71, 15);
            this.lbl_vk.TabIndex = 57;
            this.lbl_vk.Text = "Vượt khung:";
            this.lbl_vk.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.lbl_vk, " ");
            // 
            // lbl_kv
            // 
            this.lbl_kv.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_kv.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_kv.Location = new System.Drawing.Point(111, 46);
            this.lbl_kv.Name = "lbl_kv";
            this.lbl_kv.Size = new System.Drawing.Size(78, 14);
            this.lbl_kv.TabIndex = 55;
            this.lbl_kv.Text = "Pc khu vực:";
            this.lbl_kv.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.lbl_kv, resources.GetString("lbl_kv.ToolTip"));
            // 
            // lbl_ta
            // 
            this.lbl_ta.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_ta.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_ta.Location = new System.Drawing.Point(695, 46);
            this.lbl_ta.Name = "lbl_ta";
            this.lbl_ta.Size = new System.Drawing.Size(63, 15);
            this.lbl_ta.TabIndex = 53;
            this.lbl_ta.Text = "Tiền ăn:";
            this.lbl_ta.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.lbl_ta, resources.GetString("lbl_ta.ToolTip"));
            // 
            // txt_pckh
            // 
            this.txt_pckh.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_pckh.Enabled = false;
            this.txt_pckh.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_pckh.ForeColor = System.Drawing.Color.Navy;
            this.txt_pckh.Location = new System.Drawing.Point(186, 68);
            this.txt_pckh.MaxLength = 8;
            this.txt_pckh.Name = "txt_pckh";
            this.txt_pckh.Size = new System.Drawing.Size(60, 22);
            this.txt_pckh.TabIndex = 15;
            this.toolTip1.SetToolTip(this.txt_pckh, "Phụ cấp khác");
            // 
            // lbl_ud
            // 
            this.lbl_ud.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_ud.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_ud.Location = new System.Drawing.Point(405, 46);
            this.lbl_ud.Name = "lbl_ud";
            this.lbl_ud.Size = new System.Drawing.Size(42, 13);
            this.lbl_ud.TabIndex = 130;
            this.lbl_ud.Text = "Ưu đãi:";
            this.lbl_ud.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.lbl_ud, resources.GetString("lbl_ud.ToolTip"));
            // 
            // lbl_tn
            // 
            this.lbl_tn.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_tn.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_tn.Location = new System.Drawing.Point(530, 46);
            this.lbl_tn.Name = "lbl_tn";
            this.lbl_tn.Size = new System.Drawing.Size(52, 13);
            this.lbl_tn.TabIndex = 132;
            this.lbl_tn.Text = "TN nghề:";
            this.lbl_tn.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.lbl_tn, resources.GetString("lbl_tn.ToolTip"));
            // 
            // lbl_th
            // 
            this.lbl_th.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_th.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_th.Location = new System.Drawing.Point(710, 20);
            this.lbl_th.Name = "lbl_th";
            this.lbl_th.Size = new System.Drawing.Size(47, 13);
            this.lbl_th.TabIndex = 134;
            this.lbl_th.Text = "Thu hút:";
            this.lbl_th.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.lbl_th, resources.GetString("lbl_th.ToolTip"));
            // 
            // chk_dict
            // 
            this.chk_dict.AutoSize = true;
            this.chk_dict.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chk_dict.Location = new System.Drawing.Point(359, 35);
            this.chk_dict.Name = "chk_dict";
            this.chk_dict.Size = new System.Drawing.Size(81, 17);
            this.chk_dict.TabIndex = 129;
            this.chk_dict.Text = "Đi công tác";
            this.toolTip1.SetToolTip(this.chk_dict, "Chỉ chọn khi nhân viên đi công tác ngoài co quan");
            this.chk_dict.UseVisualStyleBackColor = true;
            // 
            // dgrThanhVienGD_ct
            // 
            this.dgrThanhVienGD_ct.AllowDrop = true;
            this.dgrThanhVienGD_ct.AllowUserToAddRows = false;
            this.dgrThanhVienGD_ct.AllowUserToDeleteRows = false;
            dataGridViewCellStyle17.BackColor = System.Drawing.Color.MintCream;
            dataGridViewCellStyle17.ForeColor = System.Drawing.Color.Blue;
            dataGridViewCellStyle17.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            dataGridViewCellStyle17.SelectionForeColor = System.Drawing.Color.Blue;
            this.dgrThanhVienGD_ct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle17;
            this.dgrThanhVienGD_ct.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells;
            this.dgrThanhVienGD_ct.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCells;
            this.dgrThanhVienGD_ct.BackgroundColor = System.Drawing.Color.White;
            this.dgrThanhVienGD_ct.BorderStyle = System.Windows.Forms.BorderStyle.None;
            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dgrThanhVienGD_ct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle18;
            this.dgrThanhVienGD_ct.ColumnHeadersHeight = 25;
            this.dgrThanhVienGD_ct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.ngayhl,
            this.tunam,
            this.denngay,
            this.dennam,
            this.Column1_5,
            this.Column1_7,
            this.Column1_8,
            this.mad,
            this.id});
            dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle25.BackColor = System.Drawing.Color.White;
            dataGridViewCellStyle25.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle25.ForeColor = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle25.SelectionBackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle25.SelectionForeColor = System.Drawing.Color.Blue;
            dataGridViewCellStyle25.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
            this.dgrThanhVienGD_ct.DefaultCellStyle = dataGridViewCellStyle25;
            this.dgrThanhVienGD_ct.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dgrThanhVienGD_ct.Location = new System.Drawing.Point(3, 16);
            this.dgrThanhVienGD_ct.MultiSelect = false;
            this.dgrThanhVienGD_ct.Name = "dgrThanhVienGD_ct";
            dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle26.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle26.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle26.ForeColor = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle26.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle26.SelectionForeColor = System.Drawing.SystemColors.ControlDark;
            dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dgrThanhVienGD_ct.RowHeadersDefaultCellStyle = dataGridViewCellStyle26;
            this.dgrThanhVienGD_ct.RowHeadersVisible = false;
            this.dgrThanhVienGD_ct.RowHeadersWidth = 25;
            dataGridViewCellStyle27.ForeColor = System.Drawing.Color.Black;
            dataGridViewCellStyle27.SelectionBackColor = System.Drawing.Color.White;
            dataGridViewCellStyle27.SelectionForeColor = System.Drawing.Color.Black;
            this.dgrThanhVienGD_ct.RowsDefaultCellStyle = dataGridViewCellStyle27;
            this.dgrThanhVienGD_ct.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
            this.dgrThanhVienGD_ct.Size = new System.Drawing.Size(539, 283);
            this.dgrThanhVienGD_ct.StandardTab = true;
            this.dgrThanhVienGD_ct.TabIndex = 109;
            this.toolTip1.SetToolTip(this.dgrThanhVienGD_ct, "Nhấn chuột phải lên lưới Thêm , Hủy");
            this.dgrThanhVienGD_ct.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgrThanhVienGD_CellClick);
            // 
            // ngayhl
            // 
            this.ngayhl.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
            this.ngayhl.DataPropertyName = "tungay";
            dataGridViewCellStyle19.ForeColor = System.Drawing.Color.Blue;
            dataGridViewCellStyle19.SelectionBackColor = System.Drawing.Color.Silver;
            dataGridViewCellStyle19.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.ngayhl.DefaultCellStyle = dataGridViewCellStyle19;
            this.ngayhl.Frozen = true;
            this.ngayhl.HeaderText = "Từ ngày";
            this.ngayhl.Name = "ngayhl";
            this.ngayhl.ReadOnly = true;
            this.ngayhl.Width = 75;
            // 
            // tunam
            // 
            this.tunam.DataPropertyName = "tunam";
            dataGridViewCellStyle20.ForeColor = System.Drawing.Color.Blue;
            dataGridViewCellStyle20.SelectionBackColor = System.Drawing.Color.Silver;
            dataGridViewCellStyle20.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.tunam.DefaultCellStyle = dataGridViewCellStyle20;
            this.tunam.Frozen = true;
            this.tunam.HeaderText = "Từ năm";
            this.tunam.Name = "tunam";
            this.tunam.Width = 68;
            // 
            // denngay
            // 
            this.denngay.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
            this.denngay.DataPropertyName = "denngay";
            dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            this.denngay.DefaultCellStyle = dataGridViewCellStyle21;
            this.denngay.Frozen = true;
            this.denngay.HeaderText = "Đến ngày";
            this.denngay.Name = "denngay";
            this.denngay.ReadOnly = true;
            this.denngay.Width = 75;
            // 
            // dennam
            // 
            this.dennam.DataPropertyName = "dennam";
            this.dennam.Frozen = true;
            this.dennam.HeaderText = "Đến năm";
            this.dennam.Name = "dennam";
            this.dennam.Width = 75;
            // 
            // Column1_5
            // 
            this.Column1_5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
            this.Column1_5.DataPropertyName = "ten";
            dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            this.Column1_5.DefaultCellStyle = dataGridViewCellStyle22;
            this.Column1_5.Frozen = true;
            this.Column1_5.HeaderText = "Nghề Nghiệp";
            this.Column1_5.Name = "Column1_5";
            this.Column1_5.ReadOnly = true;
            this.Column1_5.Width = 125;
            // 
            // Column1_7
            // 
            this.Column1_7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
            this.Column1_7.DataPropertyName = "diengiai";
            dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle23.Format = "### ### ##0.##";
            dataGridViewCellStyle23.NullValue = "0";
            dataGridViewCellStyle23.Padding = new System.Windows.Forms.Padding(0, 0, 2, 0);
            this.Column1_7.DefaultCellStyle = dataGridViewCellStyle23;
            this.Column1_7.HeaderText = "Chức vụ";
            this.Column1_7.Name = "Column1_7";
            this.Column1_7.ReadOnly = true;
            this.Column1_7.Width = 120;
            // 
            // Column1_8
            // 
            this.Column1_8.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
            this.Column1_8.DataPropertyName = "donvi";
            dataGridViewCellStyle24.Format = "### ### ### ##0.##";
            dataGridViewCellStyle24.NullValue = "0";
            dataGridViewCellStyle24.Padding = new System.Windows.Forms.Padding(0, 0, 2, 0);
            this.Column1_8.DefaultCellStyle = dataGridViewCellStyle24;
            this.Column1_8.HeaderText = "Đơn vị";
            this.Column1_8.Name = "Column1_8";
            this.Column1_8.ReadOnly = true;
            this.Column1_8.Width = 170;
            // 
            // mad
            // 
            this.mad.DataPropertyName = "mucluong";
            this.mad.HeaderText = "Hệ số";
            this.mad.Name = "mad";
            this.mad.ReadOnly = true;
            this.mad.Width = 60;
            // 
            // id
            // 
            this.id.DataPropertyName = "id";
            this.id.HeaderText = "id";
            this.id.Name = "id";
            this.id.ReadOnly = true;
            this.id.Visible = false;
            this.id.Width = 40;
            // 
            // tabllnv
            // 
            this.tabllnv.Controls.Add(this.tabPage1);
            this.tabllnv.Controls.Add(this.tabPage2);
            this.tabllnv.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabllnv.ImageList = this.ilsIcons32;
            this.tabllnv.ItemSize = new System.Drawing.Size(380, 30);
            this.tabllnv.Location = new System.Drawing.Point(0, 39);
            this.tabllnv.Name = "tabllnv";
            this.tabllnv.SelectedIndex = 0;
            this.tabllnv.Size = new System.Drawing.Size(1018, 661);
            this.tabllnv.TabIndex = 0;
            this.tabllnv.Click += new System.EventHandler(this.tabllnv_Click);
            // 
            // tabPage1
            // 
            this.tabPage1.Controls.Add(this.panel2);
            this.tabPage1.Controls.Add(this.panel3);
            this.tabPage1.Controls.Add(this.panel1);
            this.tabPage1.Location = new System.Drawing.Point(4, 34);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Size = new System.Drawing.Size(1010, 623);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "Chi tiết nhân viên";
            this.tabPage1.UseVisualStyleBackColor = true;
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.uiTab1);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel2.Location = new System.Drawing.Point(0, 299);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(1010, 324);
            this.panel2.TabIndex = 269;
            // 
            // uiTab1
            // 
            this.uiTab1.BackColor = System.Drawing.Color.White;
            this.uiTab1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.uiTab1.InputFocusTab = this.uiTabPage3;
            this.uiTab1.Location = new System.Drawing.Point(0, 0);
            this.uiTab1.Name = "uiTab1";
            this.uiTab1.Size = new System.Drawing.Size(1010, 324);
            this.uiTab1.TabIndex = 0;
            this.uiTab1.TabPages.AddRange(new Janus.Windows.UI.Tab.UITabPage[] {
            this.uiTabPage1,
            this.uiTabPage2,
            this.uiTabPage3,
            this.uiTabPage4,
            this.uiTabPage5,
            this.uiTabPage6,
            this.uiTabPage7});
            this.uiTab1.VisualStyle = Janus.Windows.UI.Tab.TabVisualStyle.Office2003;
            // 
            // uiTabPage3
            // 
            this.uiTabPage3.Controls.Add(this.uiGroupBox2);
            this.uiTabPage3.Location = new System.Drawing.Point(1, 21);
            this.uiTabPage3.Name = "uiTabPage3";
            this.uiTabPage3.Size = new System.Drawing.Size(1008, 302);
            this.uiTabPage3.TabStop = true;
            this.uiTabPage3.Text = "Hợp đồng";
            // 
            // uiGroupBox2
            // 
            this.uiGroupBox2.Controls.Add(this.btn_boqua_hd);
            this.uiGroupBox2.Controls.Add(this.btn_huy_hd);
            this.uiGroupBox2.Controls.Add(this.btn_sua_hd);
            this.uiGroupBox2.Controls.Add(this.btn_luu_hd);
            this.uiGroupBox2.Controls.Add(this.btn_them_hd);
            this.uiGroupBox2.Controls.Add(this.txt_ngaynghi_hd);
            this.uiGroupBox2.Controls.Add(this.chk_xemttkl);
            this.uiGroupBox2.Controls.Add(this.label115);
            this.uiGroupBox2.Controls.Add(this.chk_xemttkt);
            this.uiGroupBox2.Controls.Add(this.chk_xemhsl);
            this.uiGroupBox2.Controls.Add(this.label117);
            this.uiGroupBox2.Controls.Add(this.cbo_lydonghi_hd);
            this.uiGroupBox2.Controls.Add(this.groupBox6);
            this.uiGroupBox2.Controls.Add(this.chk_luongsp);
            this.uiGroupBox2.Controls.Add(this.p_hdbantg);
            this.uiGroupBox2.Controls.Add(this.txt_ghichuct_hd);
            this.uiGroupBox2.Controls.Add(this.label89);
            this.uiGroupBox2.Controls.Add(this.num_sothangtbnh_hd);
            this.uiGroupBox2.Controls.Add(this.txt_sotienhd_hd);
            this.uiGroupBox2.Controls.Add(this.lbl_sotienhd);
            this.uiGroupBox2.Controls.Add(this.chk_tbnghihuu);
            this.uiGroupBox2.Controls.Add(this.label90);
            this.uiGroupBox2.Controls.Add(this.txt_phepthem_hd);
            this.uiGroupBox2.Controls.Add(this.txt_nhluonghd_hd);
            this.uiGroupBox2.Controls.Add(this.txt_ngaykyhd_hd);
            this.uiGroupBox2.Controls.Add(this.cbo_hsbdhv_hd);
            this.uiGroupBox2.Controls.Add(this.label91);
            this.uiGroupBox2.Controls.Add(this.label92);
            this.uiGroupBox2.Controls.Add(this.txt_ngaybhiem_hd);
            this.uiGroupBox2.Controls.Add(this.txt_ngaygiubac_hd);
            this.uiGroupBox2.Controls.Add(this.txt_ngayhuongluong_hd);
            this.uiGroupBox2.Controls.Add(this.txt_denngayhd_hd);
            this.uiGroupBox2.Controls.Add(this.txt_tungayhd_hd);
            this.uiGroupBox2.Controls.Add(this.txt_ngaydenct_hd);
            this.uiGroupBox2.Controls.Add(this.txt_sohd_hd);
            this.uiGroupBox2.Controls.Add(this.num_sothanghd_hd);
            this.uiGroupBox2.Controls.Add(this.cbo_loaihd_hd);
            this.uiGroupBox2.Controls.Add(this.cbo_ngachcc_hd);
            this.uiGroupBox2.Controls.Add(this.label93);
            this.uiGroupBox2.Controls.Add(this.label94);
            this.uiGroupBox2.Controls.Add(this.txt_luongcb_hd);
            this.uiGroupBox2.Controls.Add(this.label111);
            this.uiGroupBox2.Controls.Add(this.txt_ngayphep_hd);
            this.uiGroupBox2.Controls.Add(this.label95);
            this.uiGroupBox2.Controls.Add(this.txt_mltt_hd);
            this.uiGroupBox2.Controls.Add(this.label96);
            this.uiGroupBox2.Controls.Add(this.label97);
            this.uiGroupBox2.Controls.Add(this.label98);
            this.uiGroupBox2.Controls.Add(this.chk_bhxh);
            this.uiGroupBox2.Controls.Add(this.chk_bhtn);
            this.uiGroupBox2.Controls.Add(this.chk_bhyt);
            this.uiGroupBox2.Controls.Add(this.label100);
            this.uiGroupBox2.Controls.Add(this.label102);
            this.uiGroupBox2.Controls.Add(this.cbo_tuyendung_hd);
            this.uiGroupBox2.Controls.Add(this.cbo_ghichu_hd);
            this.uiGroupBox2.Controls.Add(this.cbo_bac_hd);
            this.uiGroupBox2.Controls.Add(this.label103);
            this.uiGroupBox2.Controls.Add(this.label169);
            this.uiGroupBox2.Controls.Add(this.label104);
            this.uiGroupBox2.Controls.Add(this.label105);
            this.uiGroupBox2.Controls.Add(this.label106);
            this.uiGroupBox2.Controls.Add(this.lbl_nhluonghd);
            this.uiGroupBox2.Controls.Add(this.label107);
            this.uiGroupBox2.Controls.Add(this.label108);
            this.uiGroupBox2.Controls.Add(this.label109);
            this.uiGroupBox2.Controls.Add(this.p_thuviec);
            this.uiGroupBox2.Controls.Add(this.ng);
            this.uiGroupBox2.Controls.Add(this.label99);
            this.uiGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.uiGroupBox2.Location = new System.Drawing.Point(0, 0);
            this.uiGroupBox2.Name = "uiGroupBox2";
            this.uiGroupBox2.Size = new System.Drawing.Size(1008, 302);
            this.uiGroupBox2.TabIndex = 0;
            // 
            // btn_boqua_hd
            // 
            this.btn_boqua_hd.Location = new System.Drawing.Point(927, 276);
            this.btn_boqua_hd.Name = "btn_boqua_hd";
            this.btn_boqua_hd.Size = new System.Drawing.Size(75, 23);
            this.btn_boqua_hd.TabIndex = 297;
            this.btn_boqua_hd.Text = "Bỏ qua";
            this.btn_boqua_hd.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.btn_boqua_hd.Click += new System.EventHandler(this.btn_boqua_hd_Click);
            // 
            // btn_huy_hd
            // 
            this.btn_huy_hd.Location = new System.Drawing.Point(850, 276);
            this.btn_huy_hd.Name = "btn_huy_hd";
            this.btn_huy_hd.Size = new System.Drawing.Size(75, 23);
            this.btn_huy_hd.TabIndex = 296;
            this.btn_huy_hd.Text = "Xóa";
            this.btn_huy_hd.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.btn_huy_hd.Click += new System.EventHandler(this.btn_huy_hd_Click);
            // 
            // btn_sua_hd
            // 
            this.btn_sua_hd.Location = new System.Drawing.Point(773, 276);
            this.btn_sua_hd.Name = "btn_sua_hd";
            this.btn_sua_hd.Size = new System.Drawing.Size(75, 23);
            this.btn_sua_hd.TabIndex = 295;
            this.btn_sua_hd.Text = "Sửa";
            this.btn_sua_hd.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.btn_sua_hd.Click += new System.EventHandler(this.btn_sua_hd_Click);
            // 
            // btn_luu_hd
            // 
            this.btn_luu_hd.Location = new System.Drawing.Point(696, 276);
            this.btn_luu_hd.Name = "btn_luu_hd";
            this.btn_luu_hd.Size = new System.Drawing.Size(75, 23);
            this.btn_luu_hd.TabIndex = 294;
            this.btn_luu_hd.Text = "Lưu";
            this.btn_luu_hd.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.btn_luu_hd.Click += new System.EventHandler(this.btn_luu_hd_Click);
            // 
            // btn_them_hd
            // 
            this.btn_them_hd.Location = new System.Drawing.Point(619, 276);
            this.btn_them_hd.Name = "btn_them_hd";
            this.btn_them_hd.Size = new System.Drawing.Size(75, 23);
            this.btn_them_hd.TabIndex = 293;
            this.btn_them_hd.Text = "Thêm";
            this.btn_them_hd.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.btn_them_hd.Click += new System.EventHandler(this.btn_them_hd_Click);
            // 
            // txt_ngaynghi_hd
            // 
            this.txt_ngaynghi_hd.BackColor = System.Drawing.Color.White;
            this.txt_ngaynghi_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_ngaynghi_hd.Location = new System.Drawing.Point(89, 254);
            this.txt_ngaynghi_hd.Mask = "00/00/0000";
            this.txt_ngaynghi_hd.Name = "txt_ngaynghi_hd";
            this.txt_ngaynghi_hd.Size = new System.Drawing.Size(69, 22);
            this.txt_ngaynghi_hd.TabIndex = 286;
            this.txt_ngaynghi_hd.ValidatingType = typeof(System.DateTime);
            // 
            // chk_xemttkl
            // 
            this.chk_xemttkl.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.chk_xemttkl.Location = new System.Drawing.Point(709, 258);
            this.chk_xemttkl.Name = "chk_xemttkl";
            this.chk_xemttkl.Size = new System.Drawing.Size(140, 17);
            this.chk_xemttkl.TabIndex = 290;
            this.chk_xemttkl.Text = "Xem thông tin về kỷ luật";
            // 
            // label115
            // 
            this.label115.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label115.ForeColor = System.Drawing.Color.DarkBlue;
            this.label115.Location = new System.Drawing.Point(7, 259);
            this.label115.Name = "label115";
            this.label115.Size = new System.Drawing.Size(81, 13);
            this.label115.TabIndex = 291;
            this.label115.Text = "Ngày nghỉ việc:";
            this.label115.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // chk_xemttkt
            // 
            this.chk_xemttkt.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.chk_xemttkt.Location = new System.Drawing.Point(355, 257);
            this.chk_xemttkt.Name = "chk_xemttkt";
            this.chk_xemttkt.Size = new System.Drawing.Size(169, 17);
            this.chk_xemttkt.TabIndex = 288;
            this.chk_xemttkt.Text = "Xem thông tin về khen thưởng";
            // 
            // chk_xemhsl
            // 
            this.chk_xemhsl.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.chk_xemhsl.Location = new System.Drawing.Point(534, 258);
            this.chk_xemhsl.Name = "chk_xemhsl";
            this.chk_xemhsl.Size = new System.Drawing.Size(164, 17);
            this.chk_xemhsl.TabIndex = 289;
            this.chk_xemhsl.Text = "Xem thông tin về hệ số lương";
            // 
            // label117
            // 
            this.label117.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label117.ForeColor = System.Drawing.Color.DarkBlue;
            this.label117.Location = new System.Drawing.Point(156, 261);
            this.label117.Name = "label117";
            this.label117.Size = new System.Drawing.Size(82, 13);
            this.label117.TabIndex = 292;
            this.label117.Text = "Lý do nghỉ việc:";
            this.label117.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cbo_lydonghi_hd
            // 
            this.cbo_lydonghi_hd.BackColor = System.Drawing.Color.White;
            this.cbo_lydonghi_hd.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbo_lydonghi_hd.ForeColor = System.Drawing.Color.Navy;
            this.cbo_lydonghi_hd.Location = new System.Drawing.Point(239, 256);
            this.cbo_lydonghi_hd.Name = "cbo_lydonghi_hd";
            this.cbo_lydonghi_hd.Size = new System.Drawing.Size(110, 22);
            this.cbo_lydonghi_hd.TabIndex = 287;
            // 
            // groupBox6
            // 
            this.groupBox6.Controls.Add(this.label101);
            this.groupBox6.Controls.Add(this.lbl_pctdt);
            this.groupBox6.Controls.Add(this.txtLan_hd);
            this.groupBox6.Controls.Add(this.lbl_th);
            this.groupBox6.Controls.Add(this.lbl_tn);
            this.groupBox6.Controls.Add(this.txt_hstn_hd);
            this.groupBox6.Controls.Add(this.lbl_tldb);
            this.groupBox6.Controls.Add(this.lbl_tlud);
            this.groupBox6.Controls.Add(this.txt_pctx_hd);
            this.groupBox6.Controls.Add(this.lbl_ud);
            this.groupBox6.Controls.Add(this.txt_pckh);
            this.groupBox6.Controls.Add(this.label113);
            this.groupBox6.Controls.Add(this.txt_hsld_hd);
            this.groupBox6.Controls.Add(this.txt_hsdb_hd);
            this.groupBox6.Controls.Add(this.txt_hskv_hd);
            this.groupBox6.Controls.Add(this.txt_hsdh_hd);
            this.groupBox6.Controls.Add(this.txt_hsdt_hd);
            this.groupBox6.Controls.Add(this.lbl_tldt);
            this.groupBox6.Controls.Add(this.txt_hsth_hd);
            this.groupBox6.Controls.Add(this.txt_pcta_hd);
            this.groupBox6.Controls.Add(this.txt_hesolc_hd);
            this.groupBox6.Controls.Add(this.txtSPT_CQ_hd);
            this.groupBox6.Controls.Add(this.txt_ngayvk_hd);
            this.groupBox6.Controls.Add(this.lbl_tlvk);
            this.groupBox6.Controls.Add(this.label114);
            this.groupBox6.Controls.Add(this.lbl_ta);
            this.groupBox6.Controls.Add(this.lbl_kv);
            this.groupBox6.Controls.Add(this.lbl_vk);
            this.groupBox6.Controls.Add(this.label116);
            this.groupBox6.Controls.Add(this.txt_hscv_hd);
            this.groupBox6.Controls.Add(this.lbl_cv);
            this.groupBox6.Controls.Add(this.lbl_db);
            this.groupBox6.Controls.Add(this.lbl_ld);
            this.groupBox6.Controls.Add(this.lbl_tx);
            this.groupBox6.Controls.Add(this.lbl_dt);
            this.groupBox6.Controls.Add(this.label112);
            this.groupBox6.Controls.Add(this.label110);
            this.groupBox6.Controls.Add(this.lbl_dh);
            this.groupBox6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox6.ForeColor = System.Drawing.Color.Blue;
            this.groupBox6.Location = new System.Drawing.Point(6, 161);
            this.groupBox6.Name = "groupBox6";
            this.groupBox6.Size = new System.Drawing.Size(1000, 93);
            this.groupBox6.TabIndex = 285;
            this.groupBox6.TabStop = false;
            this.groupBox6.Text = "Hệ số";
            // 
            // lbl_pctdt
            // 
            this.lbl_pctdt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_pctdt.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_pctdt.Location = new System.Drawing.Point(6, 73);
            this.lbl_pctdt.Name = "lbl_pctdt";
            this.lbl_pctdt.Size = new System.Drawing.Size(49, 13);
            this.lbl_pctdt.TabIndex = 135;
            this.lbl_pctdt.Text = "Tiền ĐT:";
            this.lbl_pctdt.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_hstn_hd
            // 
            this.txt_hstn_hd.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_hstn_hd.Enabled = false;
            this.txt_hstn_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_hstn_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_hstn_hd.Location = new System.Drawing.Point(583, 42);
            this.txt_hstn_hd.MaxLength = 8;
            this.txt_hstn_hd.Name = "txt_hstn_hd";
            this.txt_hstn_hd.Size = new System.Drawing.Size(60, 22);
            this.txt_hstn_hd.TabIndex = 11;
            this.txt_hstn_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // lbl_tldb
            // 
            this.lbl_tldb.AutoSize = true;
            this.lbl_tldb.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_tldb.ForeColor = System.Drawing.Color.DarkRed;
            this.lbl_tldb.Location = new System.Drawing.Point(643, 18);
            this.lbl_tldb.Name = "lbl_tldb";
            this.lbl_tldb.Size = new System.Drawing.Size(18, 15);
            this.lbl_tldb.TabIndex = 131;
            this.lbl_tldb.Text = "%";
            this.lbl_tldb.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.lbl_tldb.Visible = false;
            // 
            // lbl_tlud
            // 
            this.lbl_tlud.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_tlud.ForeColor = System.Drawing.Color.DarkRed;
            this.lbl_tlud.Location = new System.Drawing.Point(504, 46);
            this.lbl_tlud.Name = "lbl_tlud";
            this.lbl_tlud.Size = new System.Drawing.Size(18, 15);
            this.lbl_tlud.TabIndex = 131;
            this.lbl_tlud.Text = "%";
            this.lbl_tlud.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.lbl_tlud.Visible = false;
            // 
            // txt_pctx_hd
            // 
            this.txt_pctx_hd.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_pctx_hd.Enabled = false;
            this.txt_pctx_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_pctx_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_pctx_hd.Location = new System.Drawing.Point(880, 42);
            this.txt_pctx_hd.MaxLength = 8;
            this.txt_pctx_hd.Name = "txt_pctx_hd";
            this.txt_pctx_hd.Size = new System.Drawing.Size(78, 22);
            this.txt_pctx_hd.TabIndex = 13;
            // 
            // label113
            // 
            this.label113.AutoSize = true;
            this.label113.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label113.ForeColor = System.Drawing.Color.DarkBlue;
            this.label113.Location = new System.Drawing.Point(666, 18);
            this.label113.Name = "label113";
            this.label113.Size = new System.Drawing.Size(34, 13);
            this.label113.TabIndex = 127;
            this.label113.Text = "ĐT 2:";
            this.label113.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_hsld_hd
            // 
            this.txt_hsld_hd.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_hsld_hd.Enabled = false;
            this.txt_hsld_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_hsld_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_hsld_hd.Location = new System.Drawing.Point(880, 15);
            this.txt_hsld_hd.MaxLength = 8;
            this.txt_hsld_hd.Name = "txt_hsld_hd";
            this.txt_hsld_hd.Size = new System.Drawing.Size(78, 22);
            this.txt_hsld_hd.TabIndex = 6;
            this.txt_hsld_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt_hsdb_hd
            // 
            this.txt_hsdb_hd.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_hsdb_hd.Enabled = false;
            this.txt_hsdb_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_hsdb_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_hsdb_hd.Location = new System.Drawing.Point(583, 15);
            this.txt_hsdb_hd.MaxLength = 8;
            this.txt_hsdb_hd.Name = "txt_hsdb_hd";
            this.txt_hsdb_hd.Size = new System.Drawing.Size(60, 22);
            this.txt_hsdb_hd.TabIndex = 4;
            this.txt_hsdb_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt_hskv_hd
            // 
            this.txt_hskv_hd.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_hskv_hd.Enabled = false;
            this.txt_hskv_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_hskv_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_hskv_hd.Location = new System.Drawing.Point(187, 42);
            this.txt_hskv_hd.MaxLength = 8;
            this.txt_hskv_hd.Name = "txt_hskv_hd";
            this.txt_hskv_hd.Size = new System.Drawing.Size(59, 22);
            this.txt_hskv_hd.TabIndex = 8;
            this.txt_hskv_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt_hsdh_hd
            // 
            this.txt_hsdh_hd.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_hsdh_hd.Enabled = false;
            this.txt_hsdh_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_hsdh_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_hsdh_hd.Location = new System.Drawing.Point(56, 42);
            this.txt_hsdh_hd.MaxLength = 8;
            this.txt_hsdh_hd.Name = "txt_hsdh_hd";
            this.txt_hsdh_hd.Size = new System.Drawing.Size(55, 22);
            this.txt_hsdh_hd.TabIndex = 7;
            this.txt_hsdh_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt_hsdt_hd
            // 
            this.txt_hsdt_hd.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_hsdt_hd.Enabled = false;
            this.txt_hsdt_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_hsdt_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_hsdt_hd.Location = new System.Drawing.Point(313, 42);
            this.txt_hsdt_hd.MaxLength = 8;
            this.txt_hsdt_hd.Name = "txt_hsdt_hd";
            this.txt_hsdt_hd.Size = new System.Drawing.Size(64, 22);
            this.txt_hsdt_hd.TabIndex = 9;
            this.txt_hsdt_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // lbl_tldt
            // 
            this.lbl_tldt.AutoSize = true;
            this.lbl_tldt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_tldt.ForeColor = System.Drawing.Color.DarkRed;
            this.lbl_tldt.Location = new System.Drawing.Point(379, 47);
            this.lbl_tldt.Name = "lbl_tldt";
            this.lbl_tldt.Size = new System.Drawing.Size(18, 15);
            this.lbl_tldt.TabIndex = 118;
            this.lbl_tldt.Text = "%";
            this.lbl_tldt.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.lbl_tldt.Visible = false;
            // 
            // txt_hsth_hd
            // 
            this.txt_hsth_hd.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_hsth_hd.Enabled = false;
            this.txt_hsth_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_hsth_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_hsth_hd.Location = new System.Drawing.Point(761, 15);
            this.txt_hsth_hd.MaxLength = 8;
            this.txt_hsth_hd.Name = "txt_hsth_hd";
            this.txt_hsth_hd.Size = new System.Drawing.Size(57, 22);
            this.txt_hsth_hd.TabIndex = 5;
            this.txt_hsth_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt_pcta_hd
            // 
            this.txt_pcta_hd.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_pcta_hd.Enabled = false;
            this.txt_pcta_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_pcta_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_pcta_hd.Location = new System.Drawing.Point(761, 42);
            this.txt_pcta_hd.MaxLength = 8;
            this.txt_pcta_hd.Name = "txt_pcta_hd";
            this.txt_pcta_hd.Size = new System.Drawing.Size(57, 22);
            this.txt_pcta_hd.TabIndex = 12;
            this.txt_pcta_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt_hesolc_hd
            // 
            this.txt_hesolc_hd.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_hesolc_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_hesolc_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_hesolc_hd.Location = new System.Drawing.Point(56, 15);
            this.txt_hesolc_hd.MaxLength = 4;
            this.txt_hesolc_hd.Name = "txt_hesolc_hd";
            this.txt_hesolc_hd.ReadOnly = true;
            this.txt_hesolc_hd.Size = new System.Drawing.Size(55, 22);
            this.txt_hesolc_hd.TabIndex = 0;
            this.txt_hesolc_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txtSPT_CQ_hd
            // 
            this.txtSPT_CQ_hd.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtSPT_CQ_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtSPT_CQ_hd.ForeColor = System.Drawing.Color.Navy;
            this.txtSPT_CQ_hd.Location = new System.Drawing.Point(186, 15);
            this.txtSPT_CQ_hd.MaxLength = 3;
            this.txtSPT_CQ_hd.Name = "txtSPT_CQ_hd";
            this.txtSPT_CQ_hd.Size = new System.Drawing.Size(60, 22);
            this.txtSPT_CQ_hd.TabIndex = 1;
            this.txtSPT_CQ_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt_ngayvk_hd
            // 
            this.txt_ngayvk_hd.BackColor = System.Drawing.Color.White;
            this.txt_ngayvk_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_ngayvk_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_ngayvk_hd.Location = new System.Drawing.Point(313, 15);
            this.txt_ngayvk_hd.Mask = "00/00/0000";
            this.txt_ngayvk_hd.Name = "txt_ngayvk_hd";
            this.txt_ngayvk_hd.Size = new System.Drawing.Size(64, 22);
            this.txt_ngayvk_hd.TabIndex = 2;
            this.txt_ngayvk_hd.ValidatingType = typeof(System.DateTime);
            // 
            // lbl_tlvk
            // 
            this.lbl_tlvk.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_tlvk.ForeColor = System.Drawing.Color.DarkRed;
            this.lbl_tlvk.Location = new System.Drawing.Point(248, 20);
            this.lbl_tlvk.Name = "lbl_tlvk";
            this.lbl_tlvk.Size = new System.Drawing.Size(18, 15);
            this.lbl_tlvk.TabIndex = 118;
            this.lbl_tlvk.Text = "%";
            this.lbl_tlvk.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.lbl_tlvk.Visible = false;
            // 
            // label114
            // 
            this.label114.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label114.ForeColor = System.Drawing.Color.DarkBlue;
            this.label114.Location = new System.Drawing.Point(12, 20);
            this.label114.Name = "label114";
            this.label114.Size = new System.Drawing.Size(40, 13);
            this.label114.TabIndex = 49;
            this.label114.Text = "Lương:";
            this.label114.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label116
            // 
            this.label116.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label116.ForeColor = System.Drawing.Color.DarkBlue;
            this.label116.Location = new System.Drawing.Point(264, 20);
            this.label116.Name = "label116";
            this.label116.Size = new System.Drawing.Size(48, 17);
            this.label116.TabIndex = 99;
            this.label116.Text = "Ngày:";
            this.label116.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_hscv_hd
            // 
            this.txt_hscv_hd.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_hscv_hd.Enabled = false;
            this.txt_hscv_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_hscv_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_hscv_hd.Location = new System.Drawing.Point(451, 15);
            this.txt_hscv_hd.MaxLength = 8;
            this.txt_hscv_hd.Name = "txt_hscv_hd";
            this.txt_hscv_hd.Size = new System.Drawing.Size(55, 22);
            this.txt_hscv_hd.TabIndex = 3;
            this.txt_hscv_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // lbl_cv
            // 
            this.lbl_cv.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_cv.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_cv.Location = new System.Drawing.Point(373, 20);
            this.lbl_cv.Name = "lbl_cv";
            this.lbl_cv.Size = new System.Drawing.Size(78, 13);
            this.lbl_cv.TabIndex = 51;
            this.lbl_cv.Text = "Chức vụ:";
            this.lbl_cv.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // lbl_tx
            // 
            this.lbl_tx.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_tx.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_tx.Location = new System.Drawing.Point(807, 46);
            this.lbl_tx.Name = "lbl_tx";
            this.lbl_tx.Size = new System.Drawing.Size(75, 15);
            this.lbl_tx.TabIndex = 136;
            this.lbl_tx.Text = "Tiền xăng:";
            this.lbl_tx.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label112
            // 
            this.label112.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label112.ForeColor = System.Drawing.Color.DarkBlue;
            this.label112.Location = new System.Drawing.Point(238, 73);
            this.label112.Name = "label112";
            this.label112.Size = new System.Drawing.Size(74, 13);
            this.label112.TabIndex = 132;
            this.label112.Text = "Tổng cộng:";
            this.label112.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label110
            // 
            this.label110.Enabled = false;
            this.label110.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label110.ForeColor = System.Drawing.Color.DarkRed;
            this.label110.Location = new System.Drawing.Point(376, 71);
            this.label110.Name = "label110";
            this.label110.Size = new System.Drawing.Size(18, 15);
            this.label110.TabIndex = 138;
            this.label110.Text = "đ";
            this.label110.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // chk_luongsp
            // 
            this.chk_luongsp.AutoSize = true;
            this.chk_luongsp.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_luongsp.Location = new System.Drawing.Point(897, 110);
            this.chk_luongsp.Name = "chk_luongsp";
            this.chk_luongsp.Size = new System.Drawing.Size(105, 17);
            this.chk_luongsp.TabIndex = 256;
            this.chk_luongsp.Text = "Lương sản phẩm";
            this.chk_luongsp.UseVisualStyleBackColor = true;
            this.chk_luongsp.Visible = false;
            // 
            // p_hdbantg
            // 
            this.p_hdbantg.Controls.Add(this.label87);
            this.p_hdbantg.Controls.Add(this.lbl_sthdbantg);
            this.p_hdbantg.Controls.Add(this.txt_stbantg_hd);
            this.p_hdbantg.Controls.Add(this.label88);
            this.p_hdbantg.Controls.Add(this.cbo_lhdbantg_hd);
            this.p_hdbantg.Location = new System.Drawing.Point(219, 103);
            this.p_hdbantg.Name = "p_hdbantg";
            this.p_hdbantg.Size = new System.Drawing.Size(654, 28);
            this.p_hdbantg.TabIndex = 284;
            // 
            // label87
            // 
            this.label87.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label87.ForeColor = System.Drawing.Color.DarkRed;
            this.label87.Location = new System.Drawing.Point(575, 6);
            this.label87.Name = "label87";
            this.label87.Size = new System.Drawing.Size(18, 15);
            this.label87.TabIndex = 138;
            this.label87.Text = "đ";
            this.label87.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // lbl_sthdbantg
            // 
            this.lbl_sthdbantg.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_sthdbantg.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_sthdbantg.Location = new System.Drawing.Point(345, 4);
            this.lbl_sthdbantg.Name = "lbl_sthdbantg";
            this.lbl_sthdbantg.Size = new System.Drawing.Size(124, 17);
            this.lbl_sthdbantg.TabIndex = 231;
            this.lbl_sthdbantg.Text = "Số tiền làm việc 1 giờ:";
            this.lbl_sthdbantg.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_stbantg_hd
            // 
            this.txt_stbantg_hd.Enabled = false;
            this.txt_stbantg_hd.Location = new System.Drawing.Point(475, 3);
            this.txt_stbantg_hd.Name = "txt_stbantg_hd";
            this.txt_stbantg_hd.Size = new System.Drawing.Size(100, 20);
            this.txt_stbantg_hd.TabIndex = 1;
            this.txt_stbantg_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // label88
            // 
            this.label88.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label88.ForeColor = System.Drawing.Color.DarkBlue;
            this.label88.Location = new System.Drawing.Point(84, 10);
            this.label88.Name = "label88";
            this.label88.Size = new System.Drawing.Size(98, 14);
            this.label88.TabIndex = 229;
            this.label88.Text = "Hình thức làm việc:";
            this.label88.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cbo_lhdbantg_hd
            // 
            this.cbo_lhdbantg_hd.Enabled = false;
            this.cbo_lhdbantg_hd.FormattingEnabled = true;
            this.cbo_lhdbantg_hd.Location = new System.Drawing.Point(188, 4);
            this.cbo_lhdbantg_hd.Name = "cbo_lhdbantg_hd";
            this.cbo_lhdbantg_hd.Size = new System.Drawing.Size(79, 21);
            this.cbo_lhdbantg_hd.TabIndex = 0;
            // 
            // txt_ghichuct_hd
            // 
            this.txt_ghichuct_hd.Location = new System.Drawing.Point(690, 136);
            this.txt_ghichuct_hd.Name = "txt_ghichuct_hd";
            this.txt_ghichuct_hd.Size = new System.Drawing.Size(311, 20);
            this.txt_ghichuct_hd.TabIndex = 250;
            this.txt_ghichuct_hd.Visible = false;
            // 
            // label89
            // 
            this.label89.AutoSize = true;
            this.label89.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label89.ForeColor = System.Drawing.Color.DarkBlue;
            this.label89.Location = new System.Drawing.Point(865, 84);
            this.label89.Name = "label89";
            this.label89.Size = new System.Drawing.Size(53, 13);
            this.label89.TabIndex = 283;
            this.label89.Text = "Số tháng:";
            this.label89.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // num_sothangtbnh_hd
            // 
            this.num_sothangtbnh_hd.BackColor = System.Drawing.Color.White;
            this.num_sothangtbnh_hd.Enabled = false;
            this.num_sothangtbnh_hd.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.num_sothangtbnh_hd.ForeColor = System.Drawing.Color.Navy;
            this.num_sothangtbnh_hd.Location = new System.Drawing.Point(920, 82);
            this.num_sothangtbnh_hd.Name = "num_sothangtbnh_hd";
            this.num_sothangtbnh_hd.Size = new System.Drawing.Size(81, 20);
            this.num_sothangtbnh_hd.TabIndex = 253;
            this.num_sothangtbnh_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // txt_sotienhd_hd
            // 
            this.txt_sotienhd_hd.BackColor = System.Drawing.Color.White;
            this.txt_sotienhd_hd.Enabled = false;
            this.txt_sotienhd_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_sotienhd_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_sotienhd_hd.Location = new System.Drawing.Point(275, 57);
            this.txt_sotienhd_hd.MaxLength = 15;
            this.txt_sotienhd_hd.Name = "txt_sotienhd_hd";
            this.txt_sotienhd_hd.Size = new System.Drawing.Size(91, 22);
            this.txt_sotienhd_hd.TabIndex = 242;
            this.txt_sotienhd_hd.Text = "0";
            this.txt_sotienhd_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txt_sotienhd_hd.Visible = false;
            // 
            // lbl_sotienhd
            // 
            this.lbl_sotienhd.Enabled = false;
            this.lbl_sotienhd.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_sotienhd.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_sotienhd.Location = new System.Drawing.Point(209, 60);
            this.lbl_sotienhd.Name = "lbl_sotienhd";
            this.lbl_sotienhd.Size = new System.Drawing.Size(65, 13);
            this.lbl_sotienhd.TabIndex = 282;
            this.lbl_sotienhd.Text = "Số tiền HĐ :";
            this.lbl_sotienhd.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // chk_tbnghihuu
            // 
            this.chk_tbnghihuu.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.chk_tbnghihuu.Location = new System.Drawing.Point(554, 86);
            this.chk_tbnghihuu.Name = "chk_tbnghihuu";
            this.chk_tbnghihuu.Size = new System.Drawing.Size(295, 16);
            this.chk_tbnghihuu.TabIndex = 252;
            this.chk_tbnghihuu.Text = "Đã có thông báo nghỉ hưu được nâng lương trước hạn";
            // 
            // label90
            // 
            this.label90.AutoSize = true;
            this.label90.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label90.ForeColor = System.Drawing.Color.DarkBlue;
            this.label90.Location = new System.Drawing.Point(158, 110);
            this.label90.Name = "label90";
            this.label90.Size = new System.Drawing.Size(13, 13);
            this.label90.TabIndex = 281;
            this.label90.Text = "+";
            this.label90.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_phepthem_hd
            // 
            this.txt_phepthem_hd.BackColor = System.Drawing.Color.White;
            this.txt_phepthem_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_phepthem_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_phepthem_hd.Location = new System.Drawing.Point(174, 104);
            this.txt_phepthem_hd.MaxLength = 3;
            this.txt_phepthem_hd.Name = "txt_phepthem_hd";
            this.txt_phepthem_hd.Size = new System.Drawing.Size(33, 22);
            this.txt_phepthem_hd.TabIndex = 255;
            // 
            // txt_nhluonghd_hd
            // 
            this.txt_nhluonghd_hd.BackColor = System.Drawing.Color.White;
            this.txt_nhluonghd_hd.Enabled = false;
            this.txt_nhluonghd_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_nhluonghd_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_nhluonghd_hd.Location = new System.Drawing.Point(466, 57);
            this.txt_nhluonghd_hd.Mask = "00/00/0000";
            this.txt_nhluonghd_hd.Name = "txt_nhluonghd_hd";
            this.txt_nhluonghd_hd.Size = new System.Drawing.Size(82, 22);
            this.txt_nhluonghd_hd.TabIndex = 243;
            this.txt_nhluonghd_hd.ValidatingType = typeof(System.DateTime);
            this.txt_nhluonghd_hd.Visible = false;
            // 
            // txt_ngaykyhd_hd
            // 
            this.txt_ngaykyhd_hd.BackColor = System.Drawing.Color.White;
            this.txt_ngaykyhd_hd.Enabled = false;
            this.txt_ngaykyhd_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_ngaykyhd_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_ngaykyhd_hd.Location = new System.Drawing.Point(760, 8);
            this.txt_ngaykyhd_hd.Mask = "00/00/0000";
            this.txt_ngaykyhd_hd.Name = "txt_ngaykyhd_hd";
            this.txt_ngaykyhd_hd.Size = new System.Drawing.Size(71, 22);
            this.txt_ngaykyhd_hd.TabIndex = 233;
            this.txt_ngaykyhd_hd.ValidatingType = typeof(System.DateTime);
            // 
            // label91
            // 
            this.label91.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label91.ForeColor = System.Drawing.Color.DarkBlue;
            this.label91.Location = new System.Drawing.Point(170, 86);
            this.label91.Name = "label91";
            this.label91.Size = new System.Drawing.Size(125, 13);
            this.label91.TabIndex = 277;
            this.label91.Text = "Mức bồi dưỡng hiện vật :";
            this.label91.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label92
            // 
            this.label92.AutoSize = true;
            this.label92.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label92.ForeColor = System.Drawing.Color.DarkBlue;
            this.label92.Location = new System.Drawing.Point(176, 86);
            this.label92.Name = "label92";
            this.label92.Size = new System.Drawing.Size(125, 13);
            this.label92.TabIndex = 278;
            this.label92.Text = "Mức bồi dưỡng hiện vật :";
            this.label92.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_ngaybhiem_hd
            // 
            this.txt_ngaybhiem_hd.BackColor = System.Drawing.Color.White;
            this.txt_ngaybhiem_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_ngaybhiem_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_ngaybhiem_hd.Location = new System.Drawing.Point(920, 57);
            this.txt_ngaybhiem_hd.Mask = "00/00/0000";
            this.txt_ngaybhiem_hd.Name = "txt_ngaybhiem_hd";
            this.txt_ngaybhiem_hd.Size = new System.Drawing.Size(82, 22);
            this.txt_ngaybhiem_hd.TabIndex = 245;
            this.txt_ngaybhiem_hd.ValidatingType = typeof(System.DateTime);
            // 
            // txt_ngaygiubac_hd
            // 
            this.txt_ngaygiubac_hd.BackColor = System.Drawing.Color.White;
            this.txt_ngaygiubac_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_ngaygiubac_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_ngaygiubac_hd.Location = new System.Drawing.Point(760, 33);
            this.txt_ngaygiubac_hd.Mask = "00/00/0000";
            this.txt_ngaygiubac_hd.Name = "txt_ngaygiubac_hd";
            this.txt_ngaygiubac_hd.Size = new System.Drawing.Size(71, 22);
            this.txt_ngaygiubac_hd.TabIndex = 239;
            this.txt_ngaygiubac_hd.ValidatingType = typeof(System.DateTime);
            // 
            // txt_ngayhuongluong_hd
            // 
            this.txt_ngayhuongluong_hd.BackColor = System.Drawing.Color.White;
            this.txt_ngayhuongluong_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_ngayhuongluong_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_ngayhuongluong_hd.Location = new System.Drawing.Point(761, 57);
            this.txt_ngayhuongluong_hd.Mask = "00/00/0000";
            this.txt_ngayhuongluong_hd.Name = "txt_ngayhuongluong_hd";
            this.txt_ngayhuongluong_hd.Size = new System.Drawing.Size(70, 22);
            this.txt_ngayhuongluong_hd.TabIndex = 244;
            this.txt_ngayhuongluong_hd.ValidatingType = typeof(System.DateTime);
            // 
            // txt_denngayhd_hd
            // 
            this.txt_denngayhd_hd.BackColor = System.Drawing.Color.White;
            this.txt_denngayhd_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_denngayhd_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_denngayhd_hd.Location = new System.Drawing.Point(115, 33);
            this.txt_denngayhd_hd.Mask = "00/00/0000";
            this.txt_denngayhd_hd.Name = "txt_denngayhd_hd";
            this.txt_denngayhd_hd.Size = new System.Drawing.Size(79, 22);
            this.txt_denngayhd_hd.TabIndex = 235;
            this.txt_denngayhd_hd.ValidatingType = typeof(System.DateTime);
            // 
            // txt_tungayhd_hd
            // 
            this.txt_tungayhd_hd.BackColor = System.Drawing.Color.White;
            this.txt_tungayhd_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_tungayhd_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_tungayhd_hd.Location = new System.Drawing.Point(920, 8);
            this.txt_tungayhd_hd.Mask = "00/00/0000";
            this.txt_tungayhd_hd.Name = "txt_tungayhd_hd";
            this.txt_tungayhd_hd.Size = new System.Drawing.Size(81, 22);
            this.txt_tungayhd_hd.TabIndex = 234;
            this.txt_tungayhd_hd.ValidatingType = typeof(System.DateTime);
            // 
            // txt_ngaydenct_hd
            // 
            this.txt_ngaydenct_hd.BackColor = System.Drawing.Color.White;
            this.txt_ngaydenct_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_ngaydenct_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_ngaydenct_hd.Location = new System.Drawing.Point(115, 8);
            this.txt_ngaydenct_hd.Mask = "00/00/0000";
            this.txt_ngaydenct_hd.Name = "txt_ngaydenct_hd";
            this.txt_ngaydenct_hd.Size = new System.Drawing.Size(79, 22);
            this.txt_ngaydenct_hd.TabIndex = 229;
            this.txt_ngaydenct_hd.ValidatingType = typeof(System.DateTime);
            // 
            // txt_sohd_hd
            // 
            this.txt_sohd_hd.BackColor = System.Drawing.Color.White;
            this.txt_sohd_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_sohd_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_sohd_hd.Location = new System.Drawing.Point(275, 8);
            this.txt_sohd_hd.MaxLength = 15;
            this.txt_sohd_hd.Name = "txt_sohd_hd";
            this.txt_sohd_hd.Size = new System.Drawing.Size(90, 22);
            this.txt_sohd_hd.TabIndex = 230;
            // 
            // num_sothanghd_hd
            // 
            this.num_sothanghd_hd.BackColor = System.Drawing.Color.White;
            this.num_sothanghd_hd.Enabled = false;
            this.num_sothanghd_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.num_sothanghd_hd.ForeColor = System.Drawing.Color.Navy;
            this.num_sothanghd_hd.Location = new System.Drawing.Point(606, 8);
            this.num_sothanghd_hd.Name = "num_sothanghd_hd";
            this.num_sothanghd_hd.Size = new System.Drawing.Size(40, 22);
            this.num_sothanghd_hd.TabIndex = 232;
            this.num_sothanghd_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // cbo_loaihd_hd
            // 
            this.cbo_loaihd_hd.BackColor = System.Drawing.Color.White;
            this.cbo_loaihd_hd.DropDownWidth = 120;
            this.cbo_loaihd_hd.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbo_loaihd_hd.ForeColor = System.Drawing.Color.Navy;
            this.cbo_loaihd_hd.Location = new System.Drawing.Point(466, 8);
            this.cbo_loaihd_hd.Name = "cbo_loaihd_hd";
            this.cbo_loaihd_hd.Size = new System.Drawing.Size(82, 22);
            this.cbo_loaihd_hd.TabIndex = 231;
            // 
            // cbo_ngachcc_hd
            // 
            this.cbo_ngachcc_hd.BackColor = System.Drawing.Color.White;
            this.cbo_ngachcc_hd.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbo_ngachcc_hd.ForeColor = System.Drawing.Color.Navy;
            this.cbo_ngachcc_hd.Location = new System.Drawing.Point(466, 33);
            this.cbo_ngachcc_hd.Name = "cbo_ngachcc_hd";
            this.cbo_ngachcc_hd.Size = new System.Drawing.Size(82, 22);
            this.cbo_ngachcc_hd.TabIndex = 237;
            // 
            // label93
            // 
            this.label93.ForeColor = System.Drawing.Color.DarkBlue;
            this.label93.Location = new System.Drawing.Point(590, 137);
            this.label93.Name = "label93";
            this.label93.Size = new System.Drawing.Size(98, 23);
            this.label93.TabIndex = 275;
            this.label93.Text = "Ghi chú CT:";
            this.label93.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.label93.Visible = false;
            // 
            // label94
            // 
            this.label94.ForeColor = System.Drawing.Color.DarkBlue;
            this.label94.Location = new System.Drawing.Point(375, 81);
            this.label94.Name = "label94";
            this.label94.Size = new System.Drawing.Size(89, 19);
            this.label94.TabIndex = 276;
            this.label94.Text = "Ghi chú:";
            this.label94.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_luongcb_hd
            // 
            this.txt_luongcb_hd.BackColor = System.Drawing.Color.White;
            this.txt_luongcb_hd.Enabled = false;
            this.txt_luongcb_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_luongcb_hd.ForeColor = System.Drawing.Color.Red;
            this.txt_luongcb_hd.Location = new System.Drawing.Point(115, 57);
            this.txt_luongcb_hd.MaxLength = 10;
            this.txt_luongcb_hd.Name = "txt_luongcb_hd";
            this.txt_luongcb_hd.ReadOnly = true;
            this.txt_luongcb_hd.Size = new System.Drawing.Size(79, 22);
            this.txt_luongcb_hd.TabIndex = 241;
            this.txt_luongcb_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // label111
            // 
            this.label111.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label111.ForeColor = System.Drawing.Color.DarkBlue;
            this.label111.Location = new System.Drawing.Point(3, 36);
            this.label111.Name = "label111";
            this.label111.Size = new System.Drawing.Size(111, 18);
            this.label111.TabIndex = 271;
            this.label111.Text = "Đến ngày:";
            this.label111.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_ngayphep_hd
            // 
            this.txt_ngayphep_hd.BackColor = System.Drawing.Color.White;
            this.txt_ngayphep_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_ngayphep_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_ngayphep_hd.Location = new System.Drawing.Point(118, 105);
            this.txt_ngayphep_hd.MaxLength = 3;
            this.txt_ngayphep_hd.Name = "txt_ngayphep_hd";
            this.txt_ngayphep_hd.Size = new System.Drawing.Size(40, 22);
            this.txt_ngayphep_hd.TabIndex = 254;
            this.txt_ngayphep_hd.Text = "12";
            // 
            // label95
            // 
            this.label95.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label95.ForeColor = System.Drawing.Color.DarkBlue;
            this.label95.Location = new System.Drawing.Point(3, 11);
            this.label95.Name = "label95";
            this.label95.Size = new System.Drawing.Size(111, 14);
            this.label95.TabIndex = 257;
            this.label95.Text = "Ngày đến công tác:";
            this.label95.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_mltt_hd
            // 
            this.txt_mltt_hd.BackColor = System.Drawing.Color.White;
            this.txt_mltt_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_mltt_hd.ForeColor = System.Drawing.Color.Red;
            this.txt_mltt_hd.Location = new System.Drawing.Point(920, 33);
            this.txt_mltt_hd.MaxLength = 10;
            this.txt_mltt_hd.Name = "txt_mltt_hd";
            this.txt_mltt_hd.Size = new System.Drawing.Size(82, 22);
            this.txt_mltt_hd.TabIndex = 240;
            this.txt_mltt_hd.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // label96
            // 
            this.label96.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label96.ForeColor = System.Drawing.Color.DarkBlue;
            this.label96.Location = new System.Drawing.Point(365, 36);
            this.label96.Name = "label96";
            this.label96.Size = new System.Drawing.Size(103, 14);
            this.label96.TabIndex = 258;
            this.label96.Text = "Ngạch công chức:";
            this.label96.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label97
            // 
            this.label97.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label97.ForeColor = System.Drawing.Color.DarkBlue;
            this.label97.Location = new System.Drawing.Point(844, 11);
            this.label97.Name = "label97";
            this.label97.Size = new System.Drawing.Size(75, 18);
            this.label97.TabIndex = 259;
            this.label97.Text = "Hiệu lực từ:";
            this.label97.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label98
            // 
            this.label98.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label98.ForeColor = System.Drawing.Color.DarkBlue;
            this.label98.Location = new System.Drawing.Point(576, 36);
            this.label98.Name = "label98";
            this.label98.Size = new System.Drawing.Size(29, 13);
            this.label98.TabIndex = 274;
            this.label98.Text = "Bậc:";
            this.label98.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // chk_bhxh
            // 
            this.chk_bhxh.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_bhxh.Location = new System.Drawing.Point(7, 86);
            this.chk_bhxh.Margin = new System.Windows.Forms.Padding(3, 3, 1, 3);
            this.chk_bhxh.Name = "chk_bhxh";
            this.chk_bhxh.Size = new System.Drawing.Size(56, 17);
            this.chk_bhxh.TabIndex = 246;
            this.chk_bhxh.Text = "BHXH";
            // 
            // chk_bhtn
            // 
            this.chk_bhtn.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_bhtn.Location = new System.Drawing.Point(120, 86);
            this.chk_bhtn.Margin = new System.Windows.Forms.Padding(3, 3, 1, 3);
            this.chk_bhtn.Name = "chk_bhtn";
            this.chk_bhtn.Size = new System.Drawing.Size(56, 17);
            this.chk_bhtn.TabIndex = 248;
            this.chk_bhtn.Text = "BHTN";
            // 
            // chk_bhyt
            // 
            this.chk_bhyt.ForeColor = System.Drawing.Color.DarkBlue;
            this.chk_bhyt.Location = new System.Drawing.Point(64, 86);
            this.chk_bhyt.Margin = new System.Windows.Forms.Padding(3, 3, 1, 3);
            this.chk_bhyt.Name = "chk_bhyt";
            this.chk_bhyt.Size = new System.Drawing.Size(55, 17);
            this.chk_bhyt.TabIndex = 247;
            this.chk_bhyt.Text = "BHYT";
            // 
            // label100
            // 
            this.label100.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label100.ForeColor = System.Drawing.Color.DarkBlue;
            this.label100.Location = new System.Drawing.Point(813, 60);
            this.label100.Name = "label100";
            this.label100.Size = new System.Drawing.Size(107, 14);
            this.label100.TabIndex = 261;
            this.label100.Text = "Ngày tính BHXH:";
            this.label100.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label102
            // 
            this.label102.AutoSize = true;
            this.label102.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label102.ForeColor = System.Drawing.Color.DarkBlue;
            this.label102.Location = new System.Drawing.Point(201, 12);
            this.label102.Name = "label102";
            this.label102.Size = new System.Drawing.Size(72, 13);
            this.label102.TabIndex = 263;
            this.label102.Text = "Số hợp đồng:";
            this.label102.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cbo_tuyendung_hd
            // 
            this.cbo_tuyendung_hd.BackColor = System.Drawing.Color.White;
            this.cbo_tuyendung_hd.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbo_tuyendung_hd.ForeColor = System.Drawing.Color.Navy;
            this.cbo_tuyendung_hd.Location = new System.Drawing.Point(275, 33);
            this.cbo_tuyendung_hd.Name = "cbo_tuyendung_hd";
            this.cbo_tuyendung_hd.Size = new System.Drawing.Size(90, 22);
            this.cbo_tuyendung_hd.TabIndex = 236;
            // 
            // cbo_ghichu_hd
            // 
            this.cbo_ghichu_hd.BackColor = System.Drawing.Color.White;
            this.cbo_ghichu_hd.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbo_ghichu_hd.ForeColor = System.Drawing.Color.DarkBlue;
            this.cbo_ghichu_hd.Location = new System.Drawing.Point(466, 82);
            this.cbo_ghichu_hd.Name = "cbo_ghichu_hd";
            this.cbo_ghichu_hd.Size = new System.Drawing.Size(82, 22);
            this.cbo_ghichu_hd.TabIndex = 251;
            // 
            // cbo_bac_hd
            // 
            this.cbo_bac_hd.BackColor = System.Drawing.Color.White;
            this.cbo_bac_hd.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbo_bac_hd.ForeColor = System.Drawing.Color.DarkBlue;
            this.cbo_bac_hd.Location = new System.Drawing.Point(606, 33);
            this.cbo_bac_hd.Name = "cbo_bac_hd";
            this.cbo_bac_hd.Size = new System.Drawing.Size(65, 22);
            this.cbo_bac_hd.TabIndex = 238;
            // 
            // label103
            // 
            this.label103.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label103.ForeColor = System.Drawing.Color.DarkBlue;
            this.label103.Location = new System.Drawing.Point(643, 11);
            this.label103.Name = "label103";
            this.label103.Size = new System.Drawing.Size(38, 13);
            this.label103.TabIndex = 273;
            this.label103.Text = "Tháng";
            this.label103.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label104
            // 
            this.label104.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label104.ForeColor = System.Drawing.Color.DarkBlue;
            this.label104.Location = new System.Drawing.Point(11, 60);
            this.label104.Name = "label104";
            this.label104.Size = new System.Drawing.Size(103, 17);
            this.label104.TabIndex = 270;
            this.label104.Text = "Lương cơ bản:";
            this.label104.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label105
            // 
            this.label105.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label105.ForeColor = System.Drawing.Color.DarkBlue;
            this.label105.Location = new System.Drawing.Point(663, 60);
            this.label105.Name = "label105";
            this.label105.Size = new System.Drawing.Size(97, 13);
            this.label105.TabIndex = 269;
            this.label105.Text = "Ngày hưởng lương:";
            this.label105.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label106
            // 
            this.label106.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label106.ForeColor = System.Drawing.Color.DarkBlue;
            this.label106.Location = new System.Drawing.Point(357, 11);
            this.label106.Name = "label106";
            this.label106.Size = new System.Drawing.Size(111, 15);
            this.label106.TabIndex = 266;
            this.label106.Text = "Loại hợp đồng:";
            this.label106.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // lbl_nhluonghd
            // 
            this.lbl_nhluonghd.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbl_nhluonghd.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_nhluonghd.Location = new System.Drawing.Point(354, 60);
            this.lbl_nhluonghd.Name = "lbl_nhluonghd";
            this.lbl_nhluonghd.Size = new System.Drawing.Size(114, 13);
            this.lbl_nhluonghd.TabIndex = 267;
            this.lbl_nhluonghd.Text = "Ngày hưởng LHĐ:";
            this.lbl_nhluonghd.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label107
            // 
            this.label107.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label107.ForeColor = System.Drawing.Color.DarkBlue;
            this.label107.Location = new System.Drawing.Point(176, 36);
            this.label107.Name = "label107";
            this.label107.Size = new System.Drawing.Size(98, 16);
            this.label107.TabIndex = 268;
            this.label107.Text = "Hình thức TD:";
            this.label107.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label108
            // 
            this.label108.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label108.ForeColor = System.Drawing.Color.DarkBlue;
            this.label108.Location = new System.Drawing.Point(837, 36);
            this.label108.Name = "label108";
            this.label108.Size = new System.Drawing.Size(82, 18);
            this.label108.TabIndex = 264;
            this.label108.Text = "Lương tối thiểu:";
            this.label108.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label109
            // 
            this.label109.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label109.ForeColor = System.Drawing.Color.DarkBlue;
            this.label109.Location = new System.Drawing.Point(17, 106);
            this.label109.Name = "label109";
            this.label109.Size = new System.Drawing.Size(98, 18);
            this.label109.TabIndex = 265;
            this.label109.Text = "Số ngày phép:";
            this.label109.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // p_thuviec
            // 
            this.p_thuviec.Controls.Add(this.l_ngaychinhthuc);
            this.p_thuviec.Controls.Add(this.txt_ngaychinhthuc_hd);
            this.p_thuviec.Controls.Add(this.l_denngay);
            this.p_thuviec.Controls.Add(this.l_tungay);
            this.p_thuviec.Controls.Add(this.txt_denngaytv_hd);
            this.p_thuviec.Controls.Add(this.txt_tungaytv_hd);
            this.p_thuviec.Location = new System.Drawing.Point(6, 134);
            this.p_thuviec.Name = "p_thuviec";
            this.p_thuviec.Size = new System.Drawing.Size(580, 27);
            this.p_thuviec.TabIndex = 280;
            // 
            // l_ngaychinhthuc
            // 
            this.l_ngaychinhthuc.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.l_ngaychinhthuc.ForeColor = System.Drawing.Color.DarkBlue;
            this.l_ngaychinhthuc.Location = new System.Drawing.Point(371, 9);
            this.l_ngaychinhthuc.Name = "l_ngaychinhthuc";
            this.l_ngaychinhthuc.Size = new System.Drawing.Size(109, 13);
            this.l_ngaychinhthuc.TabIndex = 217;
            this.l_ngaychinhthuc.Text = "Ngày làm chính thức:";
            this.l_ngaychinhthuc.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_ngaychinhthuc_hd
            // 
            this.txt_ngaychinhthuc_hd.BackColor = System.Drawing.Color.White;
            this.txt_ngaychinhthuc_hd.Enabled = false;
            this.txt_ngaychinhthuc_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_ngaychinhthuc_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_ngaychinhthuc_hd.Location = new System.Drawing.Point(482, 4);
            this.txt_ngaychinhthuc_hd.Mask = "00/00/0000";
            this.txt_ngaychinhthuc_hd.Name = "txt_ngaychinhthuc_hd";
            this.txt_ngaychinhthuc_hd.Size = new System.Drawing.Size(98, 22);
            this.txt_ngaychinhthuc_hd.TabIndex = 3;
            this.txt_ngaychinhthuc_hd.ValidatingType = typeof(System.DateTime);
            // 
            // l_denngay
            // 
            this.l_denngay.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.l_denngay.ForeColor = System.Drawing.Color.DarkBlue;
            this.l_denngay.Location = new System.Drawing.Point(208, 9);
            this.l_denngay.Name = "l_denngay";
            this.l_denngay.Size = new System.Drawing.Size(55, 13);
            this.l_denngay.TabIndex = 215;
            this.l_denngay.Text = "đến ngày:";
            this.l_denngay.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // l_tungay
            // 
            this.l_tungay.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.l_tungay.ForeColor = System.Drawing.Color.DarkBlue;
            this.l_tungay.Location = new System.Drawing.Point(13, 9);
            this.l_tungay.Name = "l_tungay";
            this.l_tungay.Size = new System.Drawing.Size(90, 13);
            this.l_tungay.TabIndex = 213;
            this.l_tungay.Text = "Thử việc từ ngày:";
            this.l_tungay.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_denngaytv_hd
            // 
            this.txt_denngaytv_hd.BackColor = System.Drawing.Color.White;
            this.txt_denngaytv_hd.Enabled = false;
            this.txt_denngaytv_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_denngaytv_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_denngaytv_hd.Location = new System.Drawing.Point(264, 4);
            this.txt_denngaytv_hd.Mask = "00/00/0000";
            this.txt_denngaytv_hd.Name = "txt_denngaytv_hd";
            this.txt_denngaytv_hd.Size = new System.Drawing.Size(97, 22);
            this.txt_denngaytv_hd.TabIndex = 2;
            this.txt_denngaytv_hd.ValidatingType = typeof(System.DateTime);
            // 
            // txt_tungaytv_hd
            // 
            this.txt_tungaytv_hd.BackColor = System.Drawing.Color.White;
            this.txt_tungaytv_hd.Enabled = false;
            this.txt_tungaytv_hd.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_tungaytv_hd.ForeColor = System.Drawing.Color.Navy;
            this.txt_tungaytv_hd.Location = new System.Drawing.Point(104, 4);
            this.txt_tungaytv_hd.Mask = "00/00/0000";
            this.txt_tungaytv_hd.Name = "txt_tungaytv_hd";
            this.txt_tungaytv_hd.Size = new System.Drawing.Size(79, 22);
            this.txt_tungaytv_hd.TabIndex = 1;
            this.txt_tungaytv_hd.ValidatingType = typeof(System.DateTime);
            // 
            // ng
            // 
            this.ng.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ng.ForeColor = System.Drawing.Color.DarkBlue;
            this.ng.Location = new System.Drawing.Point(660, 11);
            this.ng.Name = "ng";
            this.ng.Size = new System.Drawing.Size(103, 15);
            this.ng.TabIndex = 279;
            this.ng.Text = "Ngày ký HĐ:";
            this.ng.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label99
            // 
            this.label99.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label99.ForeColor = System.Drawing.Color.DarkBlue;
            this.label99.Location = new System.Drawing.Point(646, 36);
            this.label99.Name = "label99";
            this.label99.Size = new System.Drawing.Size(114, 14);
            this.label99.TabIndex = 260;
            this.label99.Text = "Ngày giữ bậc :";
            this.label99.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // uiTabPage1
            // 
            this.uiTabPage1.Controls.Add(this.groupBox3);
            this.uiTabPage1.Controls.Add(this.panel4);
            this.uiTabPage1.Location = new System.Drawing.Point(1, 21);
            this.uiTabPage1.Name = "uiTabPage1";
            this.uiTabPage1.Size = new System.Drawing.Size(1008, 302);
            this.uiTabPage1.TabStop = true;
            this.uiTabPage1.Text = "Công tác";
            // 
            // groupBox3
            // 
            this.groupBox3.Controls.Add(this.dgrThanhVienGD_ct);
            this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupBox3.Location = new System.Drawing.Point(463, 0);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(545, 302);
            this.groupBox3.TabIndex = 2;
            this.groupBox3.TabStop = false;
            // 
            // panel4
            // 
            this.panel4.Controls.Add(this.label53);
            this.panel4.Controls.Add(this.txt_tuthang_ct);
            this.panel4.Controls.Add(this.label54);
            this.panel4.Controls.Add(this.butHuy_ct);
            this.panel4.Controls.Add(this.btn_boqua_ct);
            this.panel4.Controls.Add(this.btn_luu_ct);
            this.panel4.Controls.Add(this.btn_sua_ct);
            this.panel4.Controls.Add(this.btnthem_ct);
            this.panel4.Controls.Add(this.txtid);
            this.panel4.Controls.Add(this.txtDTT_CQ_dt);
            this.panel4.Controls.Add(this.maskedBox1);
            this.panel4.Controls.Add(this.label52);
            this.panel4.Controls.Add(this.txtKyNang_ct);
            this.panel4.Controls.Add(this.ckbKyNang);
            this.panel4.Controls.Add(this.txtSoThich_ct);
            this.panel4.Controls.Add(this.ckbSoThich);
            this.panel4.Controls.Add(this.groupBox4);
            this.panel4.Controls.Add(this.label48);
            this.panel4.Controls.Add(this.txt_denthang_ct);
            this.panel4.Controls.Add(this.label49);
            this.panel4.Controls.Add(this.txt_dennam_ct);
            this.panel4.Controls.Add(this.cbngenghiep_ct);
            this.panel4.Controls.Add(this.label50);
            this.panel4.Controls.Add(this.txtDN_CT_ct);
            this.panel4.Controls.Add(this.label51);
            this.panel4.Controls.Add(this.txt_tuthang);
            this.panel4.Controls.Add(this.txt_tunam_ct);
            this.panel4.Controls.Add(this.txtTN_CT_ct);
            this.panel4.Controls.Add(this.txtDV_CT_ct);
            this.panel4.Controls.Add(this.label167);
            this.panel4.Controls.Add(this.label166);
            this.panel4.Controls.Add(this.cbchucvu_ct);
            this.panel4.Controls.Add(this.label165);
            this.panel4.Controls.Add(this.label164);
            this.panel4.Controls.Add(this.label163);
            this.panel4.Dock = System.Windows.Forms.DockStyle.Left;
            this.panel4.Location = new System.Drawing.Point(0, 0);
            this.panel4.Name = "panel4";
            this.panel4.Size = new System.Drawing.Size(463, 302);
            this.panel4.TabIndex = 1;
            // 
            // label53
            // 
            this.label53.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label53.ForeColor = System.Drawing.Color.DarkBlue;
            this.label53.Location = new System.Drawing.Point(165, 13);
            this.label53.Name = "label53";
            this.label53.Size = new System.Drawing.Size(50, 13);
            this.label53.TabIndex = 156;
            this.label53.Text = "Từ tháng";
            this.label53.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_tuthang_ct
            // 
            this.txt_tuthang_ct.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_tuthang_ct.Location = new System.Drawing.Point(219, 6);
            this.txt_tuthang_ct.MaxLength = 2;
            this.txt_tuthang_ct.Name = "txt_tuthang_ct";
            this.txt_tuthang_ct.Size = new System.Drawing.Size(68, 22);
            this.txt_tuthang_ct.TabIndex = 154;
            // 
            // label54
            // 
            this.label54.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label54.ForeColor = System.Drawing.Color.DarkBlue;
            this.label54.Location = new System.Drawing.Point(1, 13);
            this.label54.Name = "label54";
            this.label54.Size = new System.Drawing.Size(49, 13);
            this.label54.TabIndex = 155;
            this.label54.Text = "Từ ngày ";
            this.label54.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // butHuy_ct
            // 
            this.butHuy_ct.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.butHuy_ct.Location = new System.Drawing.Point(345, 274);
            this.butHuy_ct.Name = "butHuy_ct";
            this.butHuy_ct.Size = new System.Drawing.Size(75, 23);
            this.butHuy_ct.TabIndex = 152;
            this.butHuy_ct.Text = "Xóa";
            this.butHuy_ct.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.butHuy_ct.Click += new System.EventHandler(this.butHuy_ct_Click);
            // 
            // btn_boqua_ct
            // 
            this.btn_boqua_ct.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btn_boqua_ct.Location = new System.Drawing.Point(266, 274);
            this.btn_boqua_ct.Name = "btn_boqua_ct";
            this.btn_boqua_ct.Size = new System.Drawing.Size(75, 23);
            this.btn_boqua_ct.TabIndex = 151;
            this.btn_boqua_ct.Text = "Bỏ qua";
            this.btn_boqua_ct.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.btn_boqua_ct.Click += new System.EventHandler(this.btn_boqua_ct_Click);
            // 
            // btn_luu_ct
            // 
            this.btn_luu_ct.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btn_luu_ct.Location = new System.Drawing.Point(187, 274);
            this.btn_luu_ct.Name = "btn_luu_ct";
            this.btn_luu_ct.Size = new System.Drawing.Size(75, 23);
            this.btn_luu_ct.TabIndex = 150;
            this.btn_luu_ct.Text = "Lưu";
            this.btn_luu_ct.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.btn_luu_ct.Click += new System.EventHandler(this.btn_luu_ct_Click);
            // 
            // btn_sua_ct
            // 
            this.btn_sua_ct.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btn_sua_ct.Location = new System.Drawing.Point(108, 274);
            this.btn_sua_ct.Name = "btn_sua_ct";
            this.btn_sua_ct.Size = new System.Drawing.Size(75, 23);
            this.btn_sua_ct.TabIndex = 149;
            this.btn_sua_ct.Text = "Sửa";
            this.btn_sua_ct.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.btn_sua_ct.Click += new System.EventHandler(this.btn_sua_ct_Click);
            // 
            // btnthem_ct
            // 
            this.btnthem_ct.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnthem_ct.Location = new System.Drawing.Point(29, 274);
            this.btnthem_ct.Name = "btnthem_ct";
            this.btnthem_ct.Size = new System.Drawing.Size(75, 23);
            this.btnthem_ct.TabIndex = 148;
            this.btnthem_ct.Text = "Thêm";
            this.btnthem_ct.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.btnthem_ct.Click += new System.EventHandler(this.btnthem_ct_Click);
            // 
            // txtid
            // 
            this.txtid.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.txtid.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtid.Location = new System.Drawing.Point(386, 243);
            this.txtid.Name = "txtid";
            this.txtid.Size = new System.Drawing.Size(71, 22);
            this.txtid.TabIndex = 147;
            // 
            // txtDTT_CQ_dt
            // 
            this.txtDTT_CQ_dt.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtDTT_CQ_dt.ForeColor = System.Drawing.Color.Red;
            this.txtDTT_CQ_dt.Location = new System.Drawing.Point(10, 245);
            this.txtDTT_CQ_dt.Name = "txtDTT_CQ_dt";
            this.txtDTT_CQ_dt.ReadOnly = true;
            this.txtDTT_CQ_dt.Size = new System.Drawing.Size(48, 22);
            this.txtDTT_CQ_dt.TabIndex = 144;
            this.txtDTT_CQ_dt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtDTT_CQ_dt.WordWrap = false;
            // 
            // maskedBox1
            // 
            this.maskedBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.maskedBox1.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.maskedBox1.Location = new System.Drawing.Point(242, 243);
            this.maskedBox1.Mask = "##/##/####";
            this.maskedBox1.Name = "maskedBox1";
            this.maskedBox1.Size = new System.Drawing.Size(141, 22);
            this.maskedBox1.TabIndex = 146;
            this.maskedBox1.Text = "__/__/____";
            // 
            // label52
            // 
            this.label52.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label52.ForeColor = System.Drawing.Color.Blue;
            this.label52.Location = new System.Drawing.Point(-1, 248);
            this.label52.Name = "label52";
            this.label52.Size = new System.Drawing.Size(0, 0);
            this.label52.TabIndex = 145;
            this.label52.Text = "Tổng  Số ";
            this.label52.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtKyNang_ct
            // 
            this.txtKyNang_ct.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtKyNang_ct.ForeColor = System.Drawing.SystemColors.WindowText;
            this.txtKyNang_ct.Location = new System.Drawing.Point(242, 193);
            this.txtKyNang_ct.Multiline = true;
            this.txtKyNang_ct.Name = "txtKyNang_ct";
            this.txtKyNang_ct.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.txtKyNang_ct.Size = new System.Drawing.Size(215, 46);
            this.txtKyNang_ct.TabIndex = 143;
            // 
            // ckbKyNang
            // 
            this.ckbKyNang.ForeColor = System.Drawing.Color.MediumBlue;
            this.ckbKyNang.Location = new System.Drawing.Point(242, 163);
            this.ckbKyNang.Name = "ckbKyNang";
            this.ckbKyNang.Size = new System.Drawing.Size(104, 24);
            this.ckbKyNang.TabIndex = 141;
            this.ckbKyNang.Text = "Kỹ năng";
            // 
            // txtSoThich_ct
            // 
            this.txtSoThich_ct.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)));
            this.txtSoThich_ct.ForeColor = System.Drawing.SystemColors.WindowText;
            this.txtSoThich_ct.Location = new System.Drawing.Point(10, 193);
            this.txtSoThich_ct.Multiline = true;
            this.txtSoThich_ct.Name = "txtSoThich_ct";
            this.txtSoThich_ct.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.txtSoThich_ct.Size = new System.Drawing.Size(221, 46);
            this.txtSoThich_ct.TabIndex = 142;
            // 
            // ckbSoThich
            // 
            this.ckbSoThich.ForeColor = System.Drawing.Color.MediumBlue;
            this.ckbSoThich.Location = new System.Drawing.Point(10, 163);
            this.ckbSoThich.Name = "ckbSoThich";
            this.ckbSoThich.Size = new System.Drawing.Size(104, 24);
            this.ckbSoThich.TabIndex = 140;
            this.ckbSoThich.Text = "Sở thích";
            // 
            // groupBox4
            // 
            this.groupBox4.Controls.Add(this.chk_dict);
            this.groupBox4.Controls.Add(this.txt_hscv_ct);
            this.groupBox4.Controls.Add(this.label10);
            this.groupBox4.Controls.Add(this.txt_hsk_ct);
            this.groupBox4.Controls.Add(this.label45);
            this.groupBox4.Controls.Add(this.txtHS_CT_ct);
            this.groupBox4.Controls.Add(this.txt_hsvk_ct);
            this.groupBox4.Controls.Add(this.label46);
            this.groupBox4.Controls.Add(this.txt_hsud_ct);
            this.groupBox4.Controls.Add(this.label47);
            this.groupBox4.Controls.Add(this.label168);
            this.groupBox4.Location = new System.Drawing.Point(4, 105);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new System.Drawing.Size(456, 58);
            this.groupBox4.TabIndex = 139;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "Hệ số:";
            // 
            // txt_hscv_ct
            // 
            this.txt_hscv_ct.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_hscv_ct.Location = new System.Drawing.Point(53, 32);
            this.txt_hscv_ct.MaxLength = 5;
            this.txt_hscv_ct.Name = "txt_hscv_ct";
            this.txt_hscv_ct.Size = new System.Drawing.Size(90, 22);
            this.txt_hscv_ct.TabIndex = 12;
            // 
            // label10
            // 
            this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label10.ForeColor = System.Drawing.Color.DarkBlue;
            this.label10.Location = new System.Drawing.Point(6, 37);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(47, 13);
            this.label10.TabIndex = 126;
            this.label10.Text = "Chức vụ";
            this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_hsk_ct
            // 
            this.txt_hsk_ct.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_hsk_ct.Location = new System.Drawing.Point(215, 33);
            this.txt_hsk_ct.MaxLength = 5;
            this.txt_hsk_ct.Name = "txt_hsk_ct";
            this.txt_hsk_ct.Size = new System.Drawing.Size(77, 22);
            this.txt_hsk_ct.TabIndex = 13;
            // 
            // label45
            // 
            this.label45.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label45.ForeColor = System.Drawing.Color.DarkBlue;
            this.label45.Location = new System.Drawing.Point(177, 38);
            this.label45.Name = "label45";
            this.label45.Size = new System.Drawing.Size(32, 13);
            this.label45.TabIndex = 124;
            this.label45.Text = "Khác";
            this.label45.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtHS_CT_ct
            // 
            this.txtHS_CT_ct.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtHS_CT_ct.Location = new System.Drawing.Point(53, 9);
            this.txtHS_CT_ct.MaxLength = 5;
            this.txtHS_CT_ct.Name = "txtHS_CT_ct";
            this.txtHS_CT_ct.Size = new System.Drawing.Size(90, 22);
            this.txtHS_CT_ct.TabIndex = 9;
            // 
            // txt_hsvk_ct
            // 
            this.txt_hsvk_ct.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_hsvk_ct.Location = new System.Drawing.Point(215, 9);
            this.txt_hsvk_ct.MaxLength = 5;
            this.txt_hsvk_ct.Name = "txt_hsvk_ct";
            this.txt_hsvk_ct.Size = new System.Drawing.Size(77, 22);
            this.txt_hsvk_ct.TabIndex = 10;
            // 
            // label46
            // 
            this.label46.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label46.ForeColor = System.Drawing.Color.DarkBlue;
            this.label46.Location = new System.Drawing.Point(149, 14);
            this.label46.Name = "label46";
            this.label46.Size = new System.Drawing.Size(62, 13);
            this.label46.TabIndex = 120;
            this.label46.Text = "Vượt khung";
            this.label46.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_hsud_ct
            // 
            this.txt_hsud_ct.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_hsud_ct.Location = new System.Drawing.Point(340, 9);
            this.txt_hsud_ct.MaxLength = 5;
            this.txt_hsud_ct.Name = "txt_hsud_ct";
            this.txt_hsud_ct.Size = new System.Drawing.Size(110, 22);
            this.txt_hsud_ct.TabIndex = 11;
            // 
            // label47
            // 
            this.label47.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label47.ForeColor = System.Drawing.Color.DarkBlue;
            this.label47.Location = new System.Drawing.Point(298, 14);
            this.label47.Name = "label47";
            this.label47.Size = new System.Drawing.Size(39, 13);
            this.label47.TabIndex = 122;
            this.label47.Text = "Ưu đãi";
            this.label47.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label168
            // 
            this.label168.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label168.ForeColor = System.Drawing.Color.DarkBlue;
            this.label168.Location = new System.Drawing.Point(18, 14);
            this.label168.Name = "label168";
            this.label168.Size = new System.Drawing.Size(37, 13);
            this.label168.TabIndex = 55;
            this.label168.Text = "Lương";
            this.label168.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label48
            // 
            this.label48.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label48.ForeColor = System.Drawing.Color.DarkBlue;
            this.label48.Location = new System.Drawing.Point(158, 33);
            this.label48.Name = "label48";
            this.label48.Size = new System.Drawing.Size(57, 13);
            this.label48.TabIndex = 138;
            this.label48.Text = "Đến tháng";
            this.label48.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_denthang_ct
            // 
            this.txt_denthang_ct.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_denthang_ct.Location = new System.Drawing.Point(219, 29);
            this.txt_denthang_ct.MaxLength = 2;
            this.txt_denthang_ct.Name = "txt_denthang_ct";
            this.txt_denthang_ct.Size = new System.Drawing.Size(68, 22);
            this.txt_denthang_ct.TabIndex = 124;
            // 
            // label49
            // 
            this.label49.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label49.ForeColor = System.Drawing.Color.DarkBlue;
            this.label49.Location = new System.Drawing.Point(-122, 115);
            this.label49.Name = "label49";
            this.label49.Size = new System.Drawing.Size(50, 13);
            this.label49.TabIndex = 137;
            this.label49.Text = "Từ tháng";
            this.label49.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_dennam_ct
            // 
            this.txt_dennam_ct.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_dennam_ct.Location = new System.Drawing.Point(355, 29);
            this.txt_dennam_ct.MaxLength = 4;
            this.txt_dennam_ct.Name = "txt_dennam_ct";
            this.txt_dennam_ct.Size = new System.Drawing.Size(102, 22);
            this.txt_dennam_ct.TabIndex = 125;
            // 
            // cbngenghiep_ct
            // 
            this.cbngenghiep_ct.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbngenghiep_ct.FormattingEnabled = true;
            this.cbngenghiep_ct.Location = new System.Drawing.Point(297, 54);
            this.cbngenghiep_ct.Name = "cbngenghiep_ct";
            this.cbngenghiep_ct.Size = new System.Drawing.Size(160, 22);
            this.cbngenghiep_ct.TabIndex = 127;
            // 
            // label50
            // 
            this.label50.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label50.ForeColor = System.Drawing.Color.DarkBlue;
            this.label50.Location = new System.Drawing.Point(307, 13);
            this.label50.Name = "label50";
            this.label50.Size = new System.Drawing.Size(46, 13);
            this.label50.TabIndex = 136;
            this.label50.Text = "Từ năm ";
            this.label50.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtDN_CT_ct
            // 
            this.txtDN_CT_ct.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtDN_CT_ct.Location = new System.Drawing.Point(52, 29);
            this.txtDN_CT_ct.Mask = "00/00/0000";
            this.txtDN_CT_ct.Name = "txtDN_CT_ct";
            this.txtDN_CT_ct.Size = new System.Drawing.Size(97, 22);
            this.txtDN_CT_ct.TabIndex = 123;
            this.txtDN_CT_ct.ValidatingType = typeof(System.DateTime);
            // 
            // label51
            // 
            this.label51.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label51.ForeColor = System.Drawing.Color.DarkBlue;
            this.label51.Location = new System.Drawing.Point(297, 33);
            this.label51.Name = "label51";
            this.label51.Size = new System.Drawing.Size(56, 13);
            this.label51.TabIndex = 135;
            this.label51.Text = " Đến năm ";
            this.label51.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_tuthang
            // 
            this.txt_tuthang.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_tuthang.Location = new System.Drawing.Point(-119, 130);
            this.txt_tuthang.MaxLength = 2;
            this.txt_tuthang.Name = "txt_tuthang";
            this.txt_tuthang.Size = new System.Drawing.Size(42, 20);
            this.txt_tuthang.TabIndex = 121;
            // 
            // txt_tunam_ct
            // 
            this.txt_tunam_ct.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_tunam_ct.Location = new System.Drawing.Point(355, 6);
            this.txt_tunam_ct.MaxLength = 4;
            this.txt_tunam_ct.Name = "txt_tunam_ct";
            this.txt_tunam_ct.Size = new System.Drawing.Size(102, 22);
            this.txt_tunam_ct.TabIndex = 122;
            // 
            // txtTN_CT_ct
            // 
            this.txtTN_CT_ct.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTN_CT_ct.Location = new System.Drawing.Point(52, 5);
            this.txtTN_CT_ct.Mask = "00/00/0000";
            this.txtTN_CT_ct.Name = "txtTN_CT_ct";
            this.txtTN_CT_ct.Size = new System.Drawing.Size(97, 22);
            this.txtTN_CT_ct.TabIndex = 120;
            this.txtTN_CT_ct.ValidatingType = typeof(System.DateTime);
            // 
            // txtDV_CT_ct
            // 
            this.txtDV_CT_ct.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtDV_CT_ct.Location = new System.Drawing.Point(52, 81);
            this.txtDV_CT_ct.MaxLength = 60;
            this.txtDV_CT_ct.Name = "txtDV_CT_ct";
            this.txtDV_CT_ct.Size = new System.Drawing.Size(405, 22);
            this.txtDV_CT_ct.TabIndex = 128;
            // 
            // label167
            // 
            this.label167.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label167.ForeColor = System.Drawing.Color.DarkBlue;
            this.label167.Location = new System.Drawing.Point(12, 86);
            this.label167.Name = "label167";
            this.label167.Size = new System.Drawing.Size(41, 13);
            this.label167.TabIndex = 134;
            this.label167.Text = "Đơn vị ";
            this.label167.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label166
            // 
            this.label166.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label166.ForeColor = System.Drawing.Color.DarkBlue;
            this.label166.Location = new System.Drawing.Point(1, 60);
            this.label166.Name = "label166";
            this.label166.Size = new System.Drawing.Size(50, 13);
            this.label166.TabIndex = 133;
            this.label166.Text = "Chức vụ ";
            this.label166.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cbchucvu_ct
            // 
            this.cbchucvu_ct.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbchucvu_ct.FormattingEnabled = true;
            this.cbchucvu_ct.Location = new System.Drawing.Point(52, 54);
            this.cbchucvu_ct.Name = "cbchucvu_ct";
            this.cbchucvu_ct.Size = new System.Drawing.Size(179, 22);
            this.cbchucvu_ct.TabIndex = 126;
            // 
            // label165
            // 
            this.label165.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label165.ForeColor = System.Drawing.Color.DarkBlue;
            this.label165.Location = new System.Drawing.Point(230, 60);
            this.label165.Name = "label165";
            this.label165.Size = new System.Drawing.Size(71, 13);
            this.label165.TabIndex = 132;
            this.label165.Text = "Nghề nghiệp ";
            this.label165.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label164
            // 
            this.label164.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label164.ForeColor = System.Drawing.Color.DarkBlue;
            this.label164.Location = new System.Drawing.Point(-3, 33);
            this.label164.Name = "label164";
            this.label164.Size = new System.Drawing.Size(56, 13);
            this.label164.TabIndex = 131;
            this.label164.Text = "Đến ngày ";
            this.label164.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label163
            // 
            this.label163.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label163.ForeColor = System.Drawing.Color.DarkBlue;
            this.label163.Location = new System.Drawing.Point(-205, 115);
            this.label163.Name = "label163";
            this.label163.Size = new System.Drawing.Size(49, 13);
            this.label163.TabIndex = 130;
            this.label163.Text = "Từ ngày ";
            this.label163.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // uiTabPage2
            // 
            this.uiTabPage2.Controls.Add(this.uiGroupBox1);
            this.uiTabPage2.Controls.Add(this.panel5);
            this.uiTabPage2.Location = new System.Drawing.Point(1, 21);
            this.uiTabPage2.Name = "uiTabPage2";
            this.uiTabPage2.Size = new System.Drawing.Size(1008, 302);
            this.uiTabPage2.TabStop = true;
            this.uiTabPage2.Text = "Đào tạo";
            // 
            // uiGroupBox1
            // 
            this.uiGroupBox1.Controls.Add(this.dgrDaoTao);
            this.uiGroupBox1.Controls.Add(this.dgrQTDTCoQuan);
            this.uiGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.uiGroupBox1.Location = new System.Drawing.Point(490, 0);
            this.uiGroupBox1.Name = "uiGroupBox1";
            this.uiGroupBox1.Size = new System.Drawing.Size(518, 302);
            this.uiGroupBox1.TabIndex = 2;
            this.uiGroupBox1.VisualStyle = Janus.Windows.UI.Dock.PanelVisualStyle.Office2007;
            // 
            // dgrDaoTao
            // 
            this.dgrDaoTao.AlternatingBackColor = System.Drawing.Color.Lavender;
            this.dgrDaoTao.BackColor = System.Drawing.Color.WhiteSmoke;
            this.dgrDaoTao.BackgroundColor = System.Drawing.SystemColors.Control;
            this.dgrDaoTao.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.dgrDaoTao.CaptionBackColor = System.Drawing.Color.LightSteelBlue;
            this.dgrDaoTao.CaptionForeColor = System.Drawing.Color.MidnightBlue;
            this.dgrDaoTao.CaptionText = "Quá trình đào tạo";
            this.dgrDaoTao.CaptionVisible = false;
            this.dgrDaoTao.DataMember = "";
            this.dgrDaoTao.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dgrDaoTao.FlatMode = true;
            this.dgrDaoTao.Font = new System.Drawing.Font("Tahoma", 8F);
            this.dgrDaoTao.ForeColor = System.Drawing.Color.MidnightBlue;
            this.dgrDaoTao.GridLineColor = System.Drawing.Color.Gainsboro;
            this.dgrDaoTao.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None;
            this.dgrDaoTao.HeaderBackColor = System.Drawing.Color.MidnightBlue;
            this.dgrDaoTao.HeaderFont = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dgrDaoTao.HeaderForeColor = System.Drawing.Color.WhiteSmoke;
            this.dgrDaoTao.LinkColor = System.Drawing.Color.Teal;
            this.dgrDaoTao.Location = new System.Drawing.Point(3, 8);
            this.dgrDaoTao.Name = "dgrDaoTao";
            this.dgrDaoTao.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
            this.dgrDaoTao.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
            this.dgrDaoTao.RowHeaderWidth = 10;
            this.dgrDaoTao.SelectionBackColor = System.Drawing.Color.CadetBlue;
            this.dgrDaoTao.SelectionForeColor = System.Drawing.Color.WhiteSmoke;
            this.dgrDaoTao.Size = new System.Drawing.Size(512, 291);
            this.dgrDaoTao.TabIndex = 106;
            this.dgrDaoTao.CurrentCellChanged += new System.EventHandler(this.dgrDaoTao_CurrentCellChanged);
            // 
            // dgrQTDTCoQuan
            // 
            this.dgrQTDTCoQuan.AlternatingBackColor = System.Drawing.Color.Lavender;
            this.dgrQTDTCoQuan.BackColor = System.Drawing.Color.WhiteSmoke;
            this.dgrQTDTCoQuan.BackgroundColor = System.Drawing.SystemColors.Control;
            this.dgrQTDTCoQuan.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.dgrQTDTCoQuan.CaptionBackColor = System.Drawing.Color.LightSteelBlue;
            this.dgrQTDTCoQuan.CaptionForeColor = System.Drawing.Color.MidnightBlue;
            this.dgrQTDTCoQuan.CaptionText = "Quá trình đào tạo tại cơ quan";
            this.dgrQTDTCoQuan.CaptionVisible = false;
            this.dgrQTDTCoQuan.DataMember = "";
            this.dgrQTDTCoQuan.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dgrQTDTCoQuan.FlatMode = true;
            this.dgrQTDTCoQuan.Font = new System.Drawing.Font("Tahoma", 8F);
            this.dgrQTDTCoQuan.ForeColor = System.Drawing.Color.MidnightBlue;
            this.dgrQTDTCoQuan.GridLineColor = System.Drawing.Color.Gainsboro;
            this.dgrQTDTCoQuan.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None;
            this.dgrQTDTCoQuan.HeaderBackColor = System.Drawing.Color.MidnightBlue;
            this.dgrQTDTCoQuan.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
            this.dgrQTDTCoQuan.HeaderForeColor = System.Drawing.Color.WhiteSmoke;
            this.dgrQTDTCoQuan.LinkColor = System.Drawing.Color.Teal;
            this.dgrQTDTCoQuan.Location = new System.Drawing.Point(3, 8);
            this.dgrQTDTCoQuan.Name = "dgrQTDTCoQuan";
            this.dgrQTDTCoQuan.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
            this.dgrQTDTCoQuan.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
            this.dgrQTDTCoQuan.RowHeaderWidth = 10;
            this.dgrQTDTCoQuan.SelectionBackColor = System.Drawing.Color.CadetBlue;
            this.dgrQTDTCoQuan.SelectionForeColor = System.Drawing.Color.WhiteSmoke;
            this.dgrQTDTCoQuan.Size = new System.Drawing.Size(512, 291);
            this.dgrQTDTCoQuan.TabIndex = 107;
            // 
            // panel5
            // 
            this.panel5.Controls.Add(this.groupDT);
            this.panel5.Controls.Add(this.label66);
            this.panel5.Controls.Add(this.label64);
            this.panel5.Controls.Add(this.txtHe_dt);
            this.panel5.Controls.Add(this.cboTrinhDoNN1_dt);
            this.panel5.Controls.Add(this.label65);
            this.panel5.Controls.Add(this.cboHeTD2_dt);
            this.panel5.Controls.Add(this.label67);
            this.panel5.Controls.Add(this.cboTrinhDoNN2_dt);
            this.panel5.Controls.Add(this.cboHeTD1_dt);
            this.panel5.Controls.Add(this.label71);
            this.panel5.Controls.Add(this.cboTrinhDoDT_dt);
            this.panel5.Controls.Add(this.cboHe_dt);
            this.panel5.Controls.Add(this.label72);
            this.panel5.Controls.Add(this.label73);
            this.panel5.Controls.Add(this.label75);
            this.panel5.Controls.Add(this.txtQLNNDaHoc);
            this.panel5.Controls.Add(this.label76);
            this.panel5.Controls.Add(this.cboTDQLNN_dt);
            this.panel5.Controls.Add(this.label55);
            this.panel5.Controls.Add(this.label56);
            this.panel5.Controls.Add(this.cboTDViTinh_dt);
            this.panel5.Controls.Add(this.cboHocVanDT_dt);
            this.panel5.Controls.Add(this.label57);
            this.panel5.Controls.Add(this.label58);
            this.panel5.Controls.Add(this.cboHocHam_dt);
            this.panel5.Controls.Add(this.cboChuyenMonTD2_dt);
            this.panel5.Controls.Add(this.groupDTCQ);
            this.panel5.Controls.Add(this.cboChuyenMonTD1_dt);
            this.panel5.Controls.Add(this.cboChuyenMonDT_dt);
            this.panel5.Controls.Add(this.label59);
            this.panel5.Controls.Add(this.cboHocVanNN2_dt);
            this.panel5.Controls.Add(this.label61);
            this.panel5.Controls.Add(this.label62);
            this.panel5.Controls.Add(this.label63);
            this.panel5.Controls.Add(this.cboHocVanNN1_dt);
            this.panel5.Controls.Add(this.btnHuy_dt);
            this.panel5.Controls.Add(this.btnBoqua_dt);
            this.panel5.Controls.Add(this.butEdit_dt);
            this.panel5.Controls.Add(this.btnLuu_dt);
            this.panel5.Controls.Add(this.btnThem_dt);
            this.panel5.Controls.Add(this.label60);
            this.panel5.Controls.Add(this.label68);
            this.panel5.Controls.Add(this.label69);
            this.panel5.Controls.Add(this.label70);
            this.panel5.Dock = System.Windows.Forms.DockStyle.Left;
            this.panel5.Location = new System.Drawing.Point(0, 0);
            this.panel5.Name = "panel5";
            this.panel5.Size = new System.Drawing.Size(490, 302);
            this.panel5.TabIndex = 1;
            // 
            // groupDT
            // 
            this.groupDT.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.groupDT.BackColor = System.Drawing.SystemColors.Control;
            this.groupDT.Controls.Add(this.label77);
            this.groupDT.Controls.Add(this.txt_denthang_dt);
            this.groupDT.Controls.Add(this.label78);
            this.groupDT.Controls.Add(this.txt_tuthang_dt);
            this.groupDT.Controls.Add(this.txt_dennam_dt);
            this.groupDT.Controls.Add(this.label79);
            this.groupDT.Controls.Add(this.label80);
            this.groupDT.Controls.Add(this.txt_tunam_dt);
            this.groupDT.Controls.Add(this.txt_ghichu_dt);
            this.groupDT.Controls.Add(this.txt_noidaotao_dt);
            this.groupDT.Controls.Add(this.cbo_donvitg_dt);
            this.groupDT.Controls.Add(this.txt_denngay_dt);
            this.groupDT.Controls.Add(this.txt_tungay_dt);
            this.groupDT.Controls.Add(this.cbo_hedt_dt);
            this.groupDT.Controls.Add(this.cbo_bangcap_dt);
            this.groupDT.Controls.Add(this.cbo_ndt_dt);
            this.groupDT.Controls.Add(this.label81);
            this.groupDT.Controls.Add(this.txt_tg_dt);
            this.groupDT.Controls.Add(this.label82);
            this.groupDT.Controls.Add(this.label83);
            this.groupDT.Controls.Add(this.label84);
            this.groupDT.Controls.Add(this.label85);
            this.groupDT.Controls.Add(this.label86);
            this.groupDT.Controls.Add(this.label153);
            this.groupDT.Controls.Add(this.label154);
            this.groupDT.Controls.Add(this.label155);
            this.groupDT.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupDT.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.groupDT.Location = new System.Drawing.Point(4, 122);
            this.groupDT.Name = "groupDT";
            this.groupDT.Size = new System.Drawing.Size(484, 150);
            this.groupDT.TabIndex = 88;
            this.groupDT.TabStop = false;
            this.groupDT.Text = "Quá trình đào tạo";
            // 
            // label77
            // 
            this.label77.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label77.ForeColor = System.Drawing.Color.DarkBlue;
            this.label77.Location = new System.Drawing.Point(187, 87);
            this.label77.Name = "label77";
            this.label77.Size = new System.Drawing.Size(57, 13);
            this.label77.TabIndex = 122;
            this.label77.Text = "Đến tháng";
            this.label77.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_denthang_dt
            // 
            this.txt_denthang_dt.Enabled = false;
            this.txt_denthang_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_denthang_dt.Location = new System.Drawing.Point(247, 83);
            this.txt_denthang_dt.MaxLength = 2;
            this.txt_denthang_dt.Name = "txt_denthang_dt";
            this.txt_denthang_dt.Size = new System.Drawing.Size(41, 20);
            this.txt_denthang_dt.TabIndex = 9;
            // 
            // label78
            // 
            this.label78.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label78.ForeColor = System.Drawing.Color.DarkBlue;
            this.label78.Location = new System.Drawing.Point(192, 65);
            this.label78.Name = "label78";
            this.label78.Size = new System.Drawing.Size(50, 13);
            this.label78.TabIndex = 121;
            this.label78.Text = "Từ tháng";
            this.label78.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_tuthang_dt
            // 
            this.txt_tuthang_dt.Enabled = false;
            this.txt_tuthang_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_tuthang_dt.Location = new System.Drawing.Point(247, 61);
            this.txt_tuthang_dt.MaxLength = 2;
            this.txt_tuthang_dt.Name = "txt_tuthang_dt";
            this.txt_tuthang_dt.Size = new System.Drawing.Size(41, 20);
            this.txt_tuthang_dt.TabIndex = 6;
            // 
            // txt_dennam_dt
            // 
            this.txt_dennam_dt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txt_dennam_dt.Enabled = false;
            this.txt_dennam_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_dennam_dt.Location = new System.Drawing.Point(348, 83);
            this.txt_dennam_dt.MaxLength = 4;
            this.txt_dennam_dt.Name = "txt_dennam_dt";
            this.txt_dennam_dt.Size = new System.Drawing.Size(134, 20);
            this.txt_dennam_dt.TabIndex = 10;
            // 
            // label79
            // 
            this.label79.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label79.ForeColor = System.Drawing.Color.DarkBlue;
            this.label79.Location = new System.Drawing.Point(302, 65);
            this.label79.Name = "label79";
            this.label79.Size = new System.Drawing.Size(46, 13);
            this.label79.TabIndex = 118;
            this.label79.Text = "Từ năm ";
            this.label79.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label80
            // 
            this.label80.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label80.ForeColor = System.Drawing.Color.DarkBlue;
            this.label80.Location = new System.Drawing.Point(296, 87);
            this.label80.Name = "label80";
            this.label80.Size = new System.Drawing.Size(56, 13);
            this.label80.TabIndex = 117;
            this.label80.Text = " Đến năm ";
            this.label80.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_tunam_dt
            // 
            this.txt_tunam_dt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txt_tunam_dt.Enabled = false;
            this.txt_tunam_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_tunam_dt.Location = new System.Drawing.Point(348, 61);
            this.txt_tunam_dt.MaxLength = 4;
            this.txt_tunam_dt.Name = "txt_tunam_dt";
            this.txt_tunam_dt.Size = new System.Drawing.Size(134, 20);
            this.txt_tunam_dt.TabIndex = 7;
            // 
            // txt_ghichu_dt
            // 
            this.txt_ghichu_dt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txt_ghichu_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_ghichu_dt.Location = new System.Drawing.Point(89, 128);
            this.txt_ghichu_dt.Name = "txt_ghichu_dt";
            this.txt_ghichu_dt.Size = new System.Drawing.Size(393, 20);
            this.txt_ghichu_dt.TabIndex = 12;
            // 
            // txt_noidaotao_dt
            // 
            this.txt_noidaotao_dt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txt_noidaotao_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_noidaotao_dt.Location = new System.Drawing.Point(89, 106);
            this.txt_noidaotao_dt.Name = "txt_noidaotao_dt";
            this.txt_noidaotao_dt.Size = new System.Drawing.Size(393, 20);
            this.txt_noidaotao_dt.TabIndex = 11;
            // 
            // cbo_donvitg_dt
            // 
            this.cbo_donvitg_dt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cbo_donvitg_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbo_donvitg_dt.FormattingEnabled = true;
            this.cbo_donvitg_dt.Items.AddRange(new object[] {
            "Ngày",
            "Tháng",
            "Năm"});
            this.cbo_donvitg_dt.Location = new System.Drawing.Point(348, 38);
            this.cbo_donvitg_dt.Name = "cbo_donvitg_dt";
            this.cbo_donvitg_dt.Size = new System.Drawing.Size(134, 21);
            this.cbo_donvitg_dt.TabIndex = 4;
            // 
            // txt_denngay_dt
            // 
            this.txt_denngay_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_denngay_dt.Location = new System.Drawing.Point(88, 84);
            this.txt_denngay_dt.Mask = "00/00/0000";
            this.txt_denngay_dt.Name = "txt_denngay_dt";
            this.txt_denngay_dt.Size = new System.Drawing.Size(99, 20);
            this.txt_denngay_dt.TabIndex = 8;
            this.txt_denngay_dt.ValidatingType = typeof(System.DateTime);
            // 
            // txt_tungay_dt
            // 
            this.txt_tungay_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_tungay_dt.Location = new System.Drawing.Point(88, 62);
            this.txt_tungay_dt.Mask = "00/00/0000";
            this.txt_tungay_dt.Name = "txt_tungay_dt";
            this.txt_tungay_dt.Size = new System.Drawing.Size(99, 20);
            this.txt_tungay_dt.TabIndex = 5;
            this.txt_tungay_dt.ValidatingType = typeof(System.DateTime);
            // 
            // cbo_hedt_dt
            // 
            this.cbo_hedt_dt.BackColor = System.Drawing.Color.White;
            this.cbo_hedt_dt.Enabled = false;
            this.cbo_hedt_dt.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbo_hedt_dt.ForeColor = System.Drawing.Color.Navy;
            this.cbo_hedt_dt.Location = new System.Drawing.Point(87, 38);
            this.cbo_hedt_dt.Name = "cbo_hedt_dt";
            this.cbo_hedt_dt.Size = new System.Drawing.Size(100, 22);
            this.cbo_hedt_dt.TabIndex = 2;
            // 
            // cbo_bangcap_dt
            // 
            this.cbo_bangcap_dt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cbo_bangcap_dt.BackColor = System.Drawing.Color.White;
            this.cbo_bangcap_dt.Enabled = false;
            this.cbo_bangcap_dt.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbo_bangcap_dt.ForeColor = System.Drawing.Color.Navy;
            this.cbo_bangcap_dt.Location = new System.Drawing.Point(305, 14);
            this.cbo_bangcap_dt.Name = "cbo_bangcap_dt";
            this.cbo_bangcap_dt.Size = new System.Drawing.Size(177, 22);
            this.cbo_bangcap_dt.TabIndex = 1;
            // 
            // cbo_ndt_dt
            // 
            this.cbo_ndt_dt.BackColor = System.Drawing.Color.White;
            this.cbo_ndt_dt.Enabled = false;
            this.cbo_ndt_dt.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbo_ndt_dt.ForeColor = System.Drawing.Color.Navy;
            this.cbo_ndt_dt.Location = new System.Drawing.Point(87, 13);
            this.cbo_ndt_dt.Name = "cbo_ndt_dt";
            this.cbo_ndt_dt.Size = new System.Drawing.Size(156, 22);
            this.cbo_ndt_dt.TabIndex = 0;
            // 
            // label81
            // 
            this.label81.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label81.ForeColor = System.Drawing.Color.DarkBlue;
            this.label81.Location = new System.Drawing.Point(5, 17);
            this.label81.Name = "label81";
            this.label81.Size = new System.Drawing.Size(79, 13);
            this.label81.TabIndex = 10;
            this.label81.Text = "Ngành đào tạo";
            this.label81.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_tg_dt
            // 
            this.txt_tg_dt.BackColor = System.Drawing.Color.White;
            this.txt_tg_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_tg_dt.ForeColor = System.Drawing.Color.DarkBlue;
            this.txt_tg_dt.Location = new System.Drawing.Point(247, 38);
            this.txt_tg_dt.Multiline = true;
            this.txt_tg_dt.Name = "txt_tg_dt";
            this.txt_tg_dt.Size = new System.Drawing.Size(41, 22);
            this.txt_tg_dt.TabIndex = 3;
            // 
            // label82
            // 
            this.label82.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label82.ForeColor = System.Drawing.Color.DarkBlue;
            this.label82.Location = new System.Drawing.Point(249, 16);
            this.label82.Name = "label82";
            this.label82.Size = new System.Drawing.Size(53, 13);
            this.label82.TabIndex = 11;
            this.label82.Text = "Bằng cấp";
            this.label82.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label83
            // 
            this.label83.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label83.ForeColor = System.Drawing.Color.DarkBlue;
            this.label83.Location = new System.Drawing.Point(62, 40);
            this.label83.Name = "label83";
            this.label83.Size = new System.Drawing.Size(21, 13);
            this.label83.TabIndex = 12;
            this.label83.Text = "Hệ";
            this.label83.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label84
            // 
            this.label84.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label84.ForeColor = System.Drawing.Color.DarkBlue;
            this.label84.Location = new System.Drawing.Point(192, 41);
            this.label84.Name = "label84";
            this.label84.Size = new System.Drawing.Size(51, 13);
            this.label84.TabIndex = 13;
            this.label84.Text = "Thời gian";
            this.label84.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label85
            // 
            this.label85.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label85.ForeColor = System.Drawing.Color.DarkBlue;
            this.label85.Location = new System.Drawing.Point(294, 40);
            this.label85.Name = "label85";
            this.label85.Size = new System.Drawing.Size(48, 16);
            this.label85.TabIndex = 14;
            this.label85.Text = "Đơn vị";
            this.label85.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label86
            // 
            this.label86.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label86.ForeColor = System.Drawing.Color.DarkBlue;
            this.label86.Location = new System.Drawing.Point(39, 65);
            this.label86.Name = "label86";
            this.label86.Size = new System.Drawing.Size(46, 13);
            this.label86.TabIndex = 15;
            this.label86.Text = "Từ ngày";
            this.label86.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label153
            // 
            this.label153.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label153.ForeColor = System.Drawing.Color.DarkBlue;
            this.label153.Location = new System.Drawing.Point(23, 109);
            this.label153.Name = "label153";
            this.label153.Size = new System.Drawing.Size(63, 13);
            this.label153.TabIndex = 17;
            this.label153.Text = "Nơi đào tạo";
            this.label153.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label154
            // 
            this.label154.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label154.ForeColor = System.Drawing.Color.DarkBlue;
            this.label154.Location = new System.Drawing.Point(31, 87);
            this.label154.Name = "label154";
            this.label154.Size = new System.Drawing.Size(53, 13);
            this.label154.TabIndex = 16;
            this.label154.Text = "Đến ngày";
            this.label154.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label155
            // 
            this.label155.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label155.ForeColor = System.Drawing.Color.DarkBlue;
            this.label155.Location = new System.Drawing.Point(41, 131);
            this.label155.Name = "label155";
            this.label155.Size = new System.Drawing.Size(44, 13);
            this.label155.TabIndex = 18;
            this.label155.Text = "Ghi chú";
            this.label155.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label66
            // 
            this.label66.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label66.ForeColor = System.Drawing.Color.DarkBlue;
            this.label66.Location = new System.Drawing.Point(170, 102);
            this.label66.Name = "label66";
            this.label66.Size = new System.Drawing.Size(50, 13);
            this.label66.TabIndex = 166;
            this.label66.Text = "Trình độ ";
            this.label66.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label64
            // 
            this.label64.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label64.ForeColor = System.Drawing.Color.DarkBlue;
            this.label64.Location = new System.Drawing.Point(137, 101);
            this.label64.Name = "label64";
            this.label64.Size = new System.Drawing.Size(34, 13);
            this.label64.TabIndex = 168;
            this.label64.Text = "tháng";
            this.label64.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtHe_dt
            // 
            this.txtHe_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtHe_dt.ForeColor = System.Drawing.Color.Navy;
            this.txtHe_dt.Location = new System.Drawing.Point(114, 98);
            this.txtHe_dt.MaxLength = 3;
            this.txtHe_dt.Name = "txtHe_dt";
            this.txtHe_dt.Size = new System.Drawing.Size(22, 20);
            this.txtHe_dt.TabIndex = 153;
            this.txtHe_dt.Text = "0";
            this.txtHe_dt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            // 
            // cboTrinhDoNN1_dt
            // 
            this.cboTrinhDoNN1_dt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cboTrinhDoNN1_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboTrinhDoNN1_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboTrinhDoNN1_dt.ItemHeight = 13;
            this.cboTrinhDoNN1_dt.Location = new System.Drawing.Point(366, 30);
            this.cboTrinhDoNN1_dt.Name = "cboTrinhDoNN1_dt";
            this.cboTrinhDoNN1_dt.Size = new System.Drawing.Size(118, 21);
            this.cboTrinhDoNN1_dt.TabIndex = 154;
            // 
            // label65
            // 
            this.label65.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label65.ForeColor = System.Drawing.Color.DarkBlue;
            this.label65.Location = new System.Drawing.Point(25, 97);
            this.label65.Name = "label65";
            this.label65.Size = new System.Drawing.Size(32, 24);
            this.label65.TabIndex = 163;
            this.label65.Text = "Hệ ";
            this.label65.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cboHeTD2_dt
            // 
            this.cboHeTD2_dt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cboHeTD2_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboHeTD2_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboHeTD2_dt.Location = new System.Drawing.Point(366, 100);
            this.cboHeTD2_dt.Name = "cboHeTD2_dt";
            this.cboHeTD2_dt.Size = new System.Drawing.Size(118, 21);
            this.cboHeTD2_dt.TabIndex = 157;
            // 
            // label67
            // 
            this.label67.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label67.ForeColor = System.Drawing.Color.DarkBlue;
            this.label67.Location = new System.Drawing.Point(4, 129);
            this.label67.Name = "label67";
            this.label67.Size = new System.Drawing.Size(0, 0);
            this.label67.TabIndex = 165;
            this.label67.Text = "Học QLNN năm ";
            this.label67.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.label67.Visible = false;
            // 
            // cboTrinhDoNN2_dt
            // 
            this.cboTrinhDoNN2_dt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cboTrinhDoNN2_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboTrinhDoNN2_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboTrinhDoNN2_dt.Location = new System.Drawing.Point(366, 54);
            this.cboTrinhDoNN2_dt.Name = "cboTrinhDoNN2_dt";
            this.cboTrinhDoNN2_dt.Size = new System.Drawing.Size(118, 21);
            this.cboTrinhDoNN2_dt.TabIndex = 156;
            // 
            // cboHeTD1_dt
            // 
            this.cboHeTD1_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboHeTD1_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboHeTD1_dt.Location = new System.Drawing.Point(220, 99);
            this.cboHeTD1_dt.Name = "cboHeTD1_dt";
            this.cboHeTD1_dt.Size = new System.Drawing.Size(88, 21);
            this.cboHeTD1_dt.TabIndex = 155;
            // 
            // label71
            // 
            this.label71.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label71.ForeColor = System.Drawing.Color.DarkBlue;
            this.label71.Location = new System.Drawing.Point(316, 102);
            this.label71.Name = "label71";
            this.label71.Size = new System.Drawing.Size(50, 13);
            this.label71.TabIndex = 167;
            this.label71.Text = "Trình độ ";
            this.label71.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cboTrinhDoDT_dt
            // 
            this.cboTrinhDoDT_dt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cboTrinhDoDT_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboTrinhDoDT_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboTrinhDoDT_dt.Location = new System.Drawing.Point(366, 6);
            this.cboTrinhDoDT_dt.Name = "cboTrinhDoDT_dt";
            this.cboTrinhDoDT_dt.Size = new System.Drawing.Size(118, 21);
            this.cboTrinhDoDT_dt.TabIndex = 151;
            // 
            // cboHe_dt
            // 
            this.cboHe_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboHe_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboHe_dt.Location = new System.Drawing.Point(57, 98);
            this.cboHe_dt.Name = "cboHe_dt";
            this.cboHe_dt.Size = new System.Drawing.Size(58, 21);
            this.cboHe_dt.TabIndex = 152;
            // 
            // label72
            // 
            this.label72.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label72.ForeColor = System.Drawing.Color.DarkBlue;
            this.label72.Location = new System.Drawing.Point(316, 56);
            this.label72.Name = "label72";
            this.label72.Size = new System.Drawing.Size(50, 13);
            this.label72.TabIndex = 162;
            this.label72.Text = "Ng. Ngữ ";
            this.label72.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label73
            // 
            this.label73.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label73.ForeColor = System.Drawing.Color.DarkBlue;
            this.label73.Location = new System.Drawing.Point(316, 32);
            this.label73.Name = "label73";
            this.label73.Size = new System.Drawing.Size(50, 13);
            this.label73.TabIndex = 161;
            this.label73.Text = "Ng. Ngữ ";
            this.label73.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label75
            // 
            this.label75.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label75.ForeColor = System.Drawing.Color.DarkBlue;
            this.label75.Location = new System.Drawing.Point(316, 10);
            this.label75.Name = "label75";
            this.label75.Size = new System.Drawing.Size(50, 13);
            this.label75.TabIndex = 160;
            this.label75.Text = "Trình độ ";
            this.label75.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtQLNNDaHoc
            // 
            this.txtQLNNDaHoc.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtQLNNDaHoc.ForeColor = System.Drawing.Color.Navy;
            this.txtQLNNDaHoc.Location = new System.Drawing.Point(93, 125);
            this.txtQLNNDaHoc.MaxLength = 4;
            this.txtQLNNDaHoc.Name = "txtQLNNDaHoc";
            this.txtQLNNDaHoc.Size = new System.Drawing.Size(0, 20);
            this.txtQLNNDaHoc.TabIndex = 159;
            this.txtQLNNDaHoc.Visible = false;
            // 
            // label76
            // 
            this.label76.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label76.ForeColor = System.Drawing.Color.DarkBlue;
            this.label76.Location = new System.Drawing.Point(329, 80);
            this.label76.Name = "label76";
            this.label76.Size = new System.Drawing.Size(37, 13);
            this.label76.TabIndex = 164;
            this.label76.Text = "QLNN";
            this.label76.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cboTDQLNN_dt
            // 
            this.cboTDQLNN_dt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.cboTDQLNN_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboTDQLNN_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboTDQLNN_dt.Location = new System.Drawing.Point(366, 77);
            this.cboTDQLNN_dt.Name = "cboTDQLNN_dt";
            this.cboTDQLNN_dt.Size = new System.Drawing.Size(118, 21);
            this.cboTDQLNN_dt.TabIndex = 158;
            // 
            // label55
            // 
            this.label55.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label55.ForeColor = System.Drawing.Color.DarkBlue;
            this.label55.Location = new System.Drawing.Point(170, 31);
            this.label55.Name = "label55";
            this.label55.Size = new System.Drawing.Size(50, 13);
            this.label55.TabIndex = 149;
            this.label55.Text = "Trình độ ";
            this.label55.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label56
            // 
            this.label56.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label56.ForeColor = System.Drawing.Color.DarkBlue;
            this.label56.Location = new System.Drawing.Point(170, 57);
            this.label56.Name = "label56";
            this.label56.Size = new System.Drawing.Size(50, 13);
            this.label56.TabIndex = 150;
            this.label56.Text = "Trình độ ";
            this.label56.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cboTDViTinh_dt
            // 
            this.cboTDViTinh_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboTDViTinh_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboTDViTinh_dt.Location = new System.Drawing.Point(220, 77);
            this.cboTDViTinh_dt.Name = "cboTDViTinh_dt";
            this.cboTDViTinh_dt.Size = new System.Drawing.Size(88, 21);
            this.cboTDViTinh_dt.TabIndex = 142;
            // 
            // cboHocVanDT_dt
            // 
            this.cboHocVanDT_dt.BackColor = System.Drawing.Color.White;
            this.cboHocVanDT_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboHocVanDT_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboHocVanDT_dt.Location = new System.Drawing.Point(57, 5);
            this.cboHocVanDT_dt.Name = "cboHocVanDT_dt";
            this.cboHocVanDT_dt.Size = new System.Drawing.Size(80, 21);
            this.cboHocVanDT_dt.TabIndex = 135;
            // 
            // label57
            // 
            this.label57.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label57.ForeColor = System.Drawing.Color.DarkBlue;
            this.label57.Location = new System.Drawing.Point(4, 80);
            this.label57.Name = "label57";
            this.label57.Size = new System.Drawing.Size(53, 13);
            this.label57.TabIndex = 147;
            this.label57.Text = "Học hàm ";
            this.label57.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label58
            // 
            this.label58.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label58.ForeColor = System.Drawing.Color.DarkBlue;
            this.label58.Location = new System.Drawing.Point(137, 82);
            this.label58.Name = "label58";
            this.label58.Size = new System.Drawing.Size(83, 13);
            this.label58.TabIndex = 148;
            this.label58.Text = "Trình độ vi tính ";
            this.label58.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cboHocHam_dt
            // 
            this.cboHocHam_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboHocHam_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboHocHam_dt.Location = new System.Drawing.Point(57, 76);
            this.cboHocHam_dt.Name = "cboHocHam_dt";
            this.cboHocHam_dt.Size = new System.Drawing.Size(80, 21);
            this.cboHocHam_dt.TabIndex = 141;
            // 
            // cboChuyenMonTD2_dt
            // 
            this.cboChuyenMonTD2_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboChuyenMonTD2_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboChuyenMonTD2_dt.Location = new System.Drawing.Point(220, 53);
            this.cboChuyenMonTD2_dt.Name = "cboChuyenMonTD2_dt";
            this.cboChuyenMonTD2_dt.Size = new System.Drawing.Size(87, 21);
            this.cboChuyenMonTD2_dt.TabIndex = 140;
            // 
            // groupDTCQ
            // 
            this.groupDTCQ.BackColor = System.Drawing.SystemColors.Control;
            this.groupDTCQ.Controls.Add(this.cbodonvicq_dt);
            this.groupDTCQ.Controls.Add(this.txtTungay_dt);
            this.groupDTCQ.Controls.Add(this.txtNTT_CQ);
            this.groupDTCQ.Controls.Add(this.label156);
            this.groupDTCQ.Controls.Add(this.txtThang_dt);
            this.groupDTCQ.Controls.Add(this.label157);
            this.groupDTCQ.Controls.Add(this.label162);
            this.groupDTCQ.Controls.Add(this.txtST_CQ);
            this.groupDTCQ.Controls.Add(this.label161);
            this.groupDTCQ.Controls.Add(this.txtSPT_CQ);
            this.groupDTCQ.Controls.Add(this.label160);
            this.groupDTCQ.Controls.Add(this.txtDTT_CQ);
            this.groupDTCQ.Controls.Add(this.label158);
            this.groupDTCQ.Controls.Add(this.label159);
            this.groupDTCQ.Controls.Add(this.label179);
            this.groupDTCQ.Controls.Add(this.label180);
            this.groupDTCQ.Controls.Add(this.ghichu_dt);
            this.groupDTCQ.Controls.Add(this.cboNDT_CQ_dt);
            this.groupDTCQ.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupDTCQ.ForeColor = System.Drawing.Color.Blue;
            this.groupDTCQ.Location = new System.Drawing.Point(5, 131);
            this.groupDTCQ.Name = "groupDTCQ";
            this.groupDTCQ.Size = new System.Drawing.Size(482, 87);
            this.groupDTCQ.TabIndex = 88;
            this.groupDTCQ.TabStop = false;
            this.groupDTCQ.Text = "Quá trình đào tạo tại cơ quan";
            this.groupDTCQ.Visible = false;
            // 
            // cbodonvicq_dt
            // 
            this.cbodonvicq_dt.FormattingEnabled = true;
            this.cbodonvicq_dt.Items.AddRange(new object[] {
            "Ngày",
            "Tháng",
            "Năm"});
            this.cbodonvicq_dt.Location = new System.Drawing.Point(166, 62);
            this.cbodonvicq_dt.Name = "cbodonvicq_dt";
            this.cbodonvicq_dt.Size = new System.Drawing.Size(51, 21);
            this.cbodonvicq_dt.TabIndex = 6;
            // 
            // txtTungay_dt
            // 
            this.txtTungay_dt.Location = new System.Drawing.Point(263, 62);
            this.txtTungay_dt.Mask = "00/00/0000";
            this.txtTungay_dt.Name = "txtTungay_dt";
            this.txtTungay_dt.Size = new System.Drawing.Size(78, 20);
            this.txtTungay_dt.TabIndex = 7;
            this.txtTungay_dt.ValidatingType = typeof(System.DateTime);
            // 
            // txtNTT_CQ
            // 
            this.txtNTT_CQ.Location = new System.Drawing.Point(402, 17);
            this.txtNTT_CQ.Mask = "00/00/0000";
            this.txtNTT_CQ.Name = "txtNTT_CQ";
            this.txtNTT_CQ.Size = new System.Drawing.Size(78, 20);
            this.txtNTT_CQ.TabIndex = 2;
            this.txtNTT_CQ.ValidatingType = typeof(System.DateTime);
            // 
            // label156
            // 
            this.label156.AutoSize = true;
            this.label156.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label156.ForeColor = System.Drawing.Color.DarkBlue;
            this.label156.Location = new System.Drawing.Point(330, 22);
            this.label156.Name = "label156";
            this.label156.Size = new System.Drawing.Size(70, 13);
            this.label156.TabIndex = 63;
            this.label156.Text = "Ngày T.Toán";
            this.label156.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtThang_dt
            // 
            this.txtThang_dt.BackColor = System.Drawing.Color.White;
            this.txtThang_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtThang_dt.ForeColor = System.Drawing.Color.DarkBlue;
            this.txtThang_dt.Location = new System.Drawing.Point(91, 62);
            this.txtThang_dt.Name = "txtThang_dt";
            this.txtThang_dt.Size = new System.Drawing.Size(37, 21);
            this.txtThang_dt.TabIndex = 5;
            // 
            // label157
            // 
            this.label157.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label157.ForeColor = System.Drawing.Color.DarkBlue;
            this.label157.Location = new System.Drawing.Point(42, 65);
            this.label157.Name = "label157";
            this.label157.Size = new System.Drawing.Size(43, 16);
            this.label157.TabIndex = 60;
            this.label157.Text = "Tháng";
            // 
            // label162
            // 
            this.label162.AutoSize = true;
            this.label162.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label162.ForeColor = System.Drawing.Color.DarkBlue;
            this.label162.Location = new System.Drawing.Point(219, 65);
            this.label162.Name = "label162";
            this.label162.Size = new System.Drawing.Size(46, 13);
            this.label162.TabIndex = 57;
            this.label162.Text = "Từ ngày";
            this.label162.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtST_CQ
            // 
            this.txtST_CQ.BackColor = System.Drawing.Color.White;
            this.txtST_CQ.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtST_CQ.ForeColor = System.Drawing.Color.Navy;
            this.txtST_CQ.Location = new System.Drawing.Point(263, 40);
            this.txtST_CQ.MaxLength = 8;
            this.txtST_CQ.Name = "txtST_CQ";
            this.txtST_CQ.Size = new System.Drawing.Size(217, 21);
            this.txtST_CQ.TabIndex = 4;
            this.txtST_CQ.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // label161
            // 
            this.label161.AutoSize = true;
            this.label161.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label161.ForeColor = System.Drawing.Color.DarkBlue;
            this.label161.Location = new System.Drawing.Point(203, 46);
            this.label161.Name = "label161";
            this.label161.Size = new System.Drawing.Size(40, 13);
            this.label161.TabIndex = 55;
            this.label161.Text = "Số tiền";
            this.label161.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtSPT_CQ
            // 
            this.txtSPT_CQ.BackColor = System.Drawing.Color.White;
            this.txtSPT_CQ.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtSPT_CQ.ForeColor = System.Drawing.Color.Navy;
            this.txtSPT_CQ.Location = new System.Drawing.Point(91, 40);
            this.txtSPT_CQ.MaxLength = 20;
            this.txtSPT_CQ.Name = "txtSPT_CQ";
            this.txtSPT_CQ.Size = new System.Drawing.Size(107, 21);
            this.txtSPT_CQ.TabIndex = 3;
            // 
            // label160
            // 
            this.label160.AutoSize = true;
            this.label160.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label160.ForeColor = System.Drawing.Color.DarkBlue;
            this.label160.Location = new System.Drawing.Point(18, 46);
            this.label160.Name = "label160";
            this.label160.Size = new System.Drawing.Size(67, 13);
            this.label160.TabIndex = 53;
            this.label160.Text = "Số phiếu thu";
            this.label160.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtDTT_CQ
            // 
            this.txtDTT_CQ.BackColor = System.Drawing.Color.White;
            this.txtDTT_CQ.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtDTT_CQ.ForeColor = System.Drawing.Color.Navy;
            this.txtDTT_CQ.Location = new System.Drawing.Point(263, 17);
            this.txtDTT_CQ.MaxLength = 10;
            this.txtDTT_CQ.Name = "txtDTT_CQ";
            this.txtDTT_CQ.Size = new System.Drawing.Size(61, 21);
            this.txtDTT_CQ.TabIndex = 1;
            // 
            // label158
            // 
            this.label158.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label158.ForeColor = System.Drawing.Color.DarkBlue;
            this.label158.Location = new System.Drawing.Point(128, 65);
            this.label158.Name = "label158";
            this.label158.Size = new System.Drawing.Size(48, 16);
            this.label158.TabIndex = 4;
            this.label158.Text = "Đơn vị";
            // 
            // label159
            // 
            this.label159.AutoSize = true;
            this.label159.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label159.ForeColor = System.Drawing.Color.DarkBlue;
            this.label159.Location = new System.Drawing.Point(199, 22);
            this.label159.Name = "label159";
            this.label159.Size = new System.Drawing.Size(62, 13);
            this.label159.TabIndex = 2;
            this.label159.Text = "Đợt T.Toán";
            this.label159.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label179
            // 
            this.label179.AutoSize = true;
            this.label179.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label179.ForeColor = System.Drawing.Color.DarkBlue;
            this.label179.Location = new System.Drawing.Point(6, 22);
            this.label179.Name = "label179";
            this.label179.Size = new System.Drawing.Size(79, 13);
            this.label179.TabIndex = 0;
            this.label179.Text = "Ngành đào tạo";
            this.label179.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label180
            // 
            this.label180.AutoSize = true;
            this.label180.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label180.ForeColor = System.Drawing.Color.DarkBlue;
            this.label180.Location = new System.Drawing.Point(347, 65);
            this.label180.Name = "label180";
            this.label180.Size = new System.Drawing.Size(44, 13);
            this.label180.TabIndex = 55;
            this.label180.Text = "Ghi chú";
            this.label180.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // ghichu_dt
            // 
            this.ghichu_dt.BackColor = System.Drawing.Color.White;
            this.ghichu_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ghichu_dt.ForeColor = System.Drawing.Color.Navy;
            this.ghichu_dt.Location = new System.Drawing.Point(391, 62);
            this.ghichu_dt.MaxLength = 50;
            this.ghichu_dt.Name = "ghichu_dt";
            this.ghichu_dt.Size = new System.Drawing.Size(88, 21);
            this.ghichu_dt.TabIndex = 8;
            // 
            // cboNDT_CQ_dt
            // 
            this.cboNDT_CQ_dt.BackColor = System.Drawing.Color.White;
            this.cboNDT_CQ_dt.Enabled = false;
            this.cboNDT_CQ_dt.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboNDT_CQ_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboNDT_CQ_dt.Location = new System.Drawing.Point(91, 17);
            this.cboNDT_CQ_dt.Name = "cboNDT_CQ_dt";
            this.cboNDT_CQ_dt.Size = new System.Drawing.Size(107, 22);
            this.cboNDT_CQ_dt.TabIndex = 0;
            // 
            // cboChuyenMonTD1_dt
            // 
            this.cboChuyenMonTD1_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboChuyenMonTD1_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboChuyenMonTD1_dt.Location = new System.Drawing.Point(220, 29);
            this.cboChuyenMonTD1_dt.Name = "cboChuyenMonTD1_dt";
            this.cboChuyenMonTD1_dt.Size = new System.Drawing.Size(87, 21);
            this.cboChuyenMonTD1_dt.TabIndex = 138;
            // 
            // cboChuyenMonDT_dt
            // 
            this.cboChuyenMonDT_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboChuyenMonDT_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboChuyenMonDT_dt.Location = new System.Drawing.Point(220, 5);
            this.cboChuyenMonDT_dt.Name = "cboChuyenMonDT_dt";
            this.cboChuyenMonDT_dt.Size = new System.Drawing.Size(88, 21);
            this.cboChuyenMonDT_dt.TabIndex = 136;
            // 
            // label59
            // 
            this.label59.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label59.ForeColor = System.Drawing.Color.DarkBlue;
            this.label59.Location = new System.Drawing.Point(151, 7);
            this.label59.Name = "label59";
            this.label59.Size = new System.Drawing.Size(69, 13);
            this.label59.TabIndex = 146;
            this.label59.Text = "Chuyên môn ";
            this.label59.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cboHocVanNN2_dt
            // 
            this.cboHocVanNN2_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboHocVanNN2_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboHocVanNN2_dt.Location = new System.Drawing.Point(57, 53);
            this.cboHocVanNN2_dt.Name = "cboHocVanNN2_dt";
            this.cboHocVanNN2_dt.Size = new System.Drawing.Size(80, 21);
            this.cboHocVanNN2_dt.TabIndex = 139;
            // 
            // label61
            // 
            this.label61.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label61.ForeColor = System.Drawing.Color.DarkBlue;
            this.label61.Location = new System.Drawing.Point(6, 8);
            this.label61.Name = "label61";
            this.label61.Size = new System.Drawing.Size(51, 13);
            this.label61.TabIndex = 143;
            this.label61.Text = "Học vấn ";
            this.label61.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label62
            // 
            this.label62.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label62.ForeColor = System.Drawing.Color.DarkBlue;
            this.label62.Location = new System.Drawing.Point(7, 57);
            this.label62.Name = "label62";
            this.label62.Size = new System.Drawing.Size(50, 13);
            this.label62.TabIndex = 145;
            this.label62.Text = "Ng. Ngữ ";
            this.label62.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label63
            // 
            this.label63.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label63.ForeColor = System.Drawing.Color.DarkBlue;
            this.label63.Location = new System.Drawing.Point(7, 32);
            this.label63.Name = "label63";
            this.label63.Size = new System.Drawing.Size(50, 13);
            this.label63.TabIndex = 144;
            this.label63.Text = "Ng. Ngữ ";
            this.label63.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cboHocVanNN1_dt
            // 
            this.cboHocVanNN1_dt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboHocVanNN1_dt.ForeColor = System.Drawing.Color.Navy;
            this.cboHocVanNN1_dt.Location = new System.Drawing.Point(57, 29);
            this.cboHocVanNN1_dt.Name = "cboHocVanNN1_dt";
            this.cboHocVanNN1_dt.Size = new System.Drawing.Size(80, 21);
            this.cboHocVanNN1_dt.TabIndex = 137;
            // 
            // btnHuy_dt
            // 
            this.btnHuy_dt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnHuy_dt.Location = new System.Drawing.Point(375, 275);
            this.btnHuy_dt.Name = "btnHuy_dt";
            this.btnHuy_dt.Size = new System.Drawing.Size(75, 23);
            this.btnHuy_dt.TabIndex = 134;
            this.btnHuy_dt.Text = "Hủy";
            this.btnHuy_dt.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.btnHuy_dt.Click += new System.EventHandler(this.btnHuy_dt_Click);
            // 
            // btnBoqua_dt
            // 
            this.btnBoqua_dt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnBoqua_dt.Location = new System.Drawing.Point(297, 275);
            this.btnBoqua_dt.Name = "btnBoqua_dt";
            this.btnBoqua_dt.Size = new System.Drawing.Size(75, 23);
            this.btnBoqua_dt.TabIndex = 133;
            this.btnBoqua_dt.Text = "Bỏ qua";
            this.btnBoqua_dt.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.btnBoqua_dt.Click += new System.EventHandler(this.btnBoqua_dt_Click);
            // 
            // butEdit_dt
            // 
            this.butEdit_dt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.butEdit_dt.Location = new System.Drawing.Point(219, 275);
            this.butEdit_dt.Name = "butEdit_dt";
            this.butEdit_dt.Size = new System.Drawing.Size(75, 23);
            this.butEdit_dt.TabIndex = 132;
            this.butEdit_dt.Text = "Sửa";
            this.butEdit_dt.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.butEdit_dt.Click += new System.EventHandler(this.butEdit_dt_Click);
            // 
            // btnLuu_dt
            // 
            this.btnLuu_dt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnLuu_dt.Location = new System.Drawing.Point(141, 275);
            this.btnLuu_dt.Name = "btnLuu_dt";
            this.btnLuu_dt.Size = new System.Drawing.Size(75, 23);
            this.btnLuu_dt.TabIndex = 131;
            this.btnLuu_dt.Text = "Lưu";
            this.btnLuu_dt.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.btnLuu_dt.Click += new System.EventHandler(this.btnLuu_dt_Click);
            // 
            // btnThem_dt
            // 
            this.btnThem_dt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnThem_dt.Location = new System.Drawing.Point(63, 275);
            this.btnThem_dt.Name = "btnThem_dt";
            this.btnThem_dt.Size = new System.Drawing.Size(75, 23);
            this.btnThem_dt.TabIndex = 130;
            this.btnThem_dt.Text = "Thêm";
            this.btnThem_dt.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            this.btnThem_dt.Click += new System.EventHandler(this.btnThem_dt_Click);
            // 
            // label60
            // 
            this.label60.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label60.ForeColor = System.Drawing.Color.DarkBlue;
            this.label60.Location = new System.Drawing.Point(-154, 180);
            this.label60.Name = "label60";
            this.label60.Size = new System.Drawing.Size(53, 13);
            this.label60.TabIndex = 119;
            this.label60.Text = "Học hàm ";
            this.label60.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label68
            // 
            this.label68.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label68.ForeColor = System.Drawing.Color.DarkBlue;
            this.label68.Location = new System.Drawing.Point(-150, 108);
            this.label68.Name = "label68";
            this.label68.Size = new System.Drawing.Size(51, 13);
            this.label68.TabIndex = 111;
            this.label68.Text = "Học vấn ";
            this.label68.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label69
            // 
            this.label69.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label69.ForeColor = System.Drawing.Color.DarkBlue;
            this.label69.Location = new System.Drawing.Point(-150, 157);
            this.label69.Name = "label69";
            this.label69.Size = new System.Drawing.Size(50, 13);
            this.label69.TabIndex = 113;
            this.label69.Text = "Ng. Ngữ ";
            this.label69.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label70
            // 
            this.label70.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label70.ForeColor = System.Drawing.Color.DarkBlue;
            this.label70.Location = new System.Drawing.Point(-150, 132);
            this.label70.Name = "label70";
            this.label70.Size = new System.Drawing.Size(50, 13);
            this.label70.TabIndex = 112;
            this.label70.Text = "Ng. Ngữ ";
            this.label70.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // uiTabPage4
            // 
            this.uiTabPage4.Controls.Add(this.uiGroupBox3);
            this.uiTabPage4.Controls.Add(this.panel7);
            this.uiTabPage4.Location = new System.Drawing.Point(1, 21);
            this.uiTabPage4.Name = "uiTabPage4";
            this.uiTabPage4.Size = new System.Drawing.Size(1008, 302);
            this.uiTabPage4.TabStop = true;
            this.uiTabPage4.Text = "Gia cảnh";
            // 
            // uiGroupBox3
            // 
            this.uiGroupBox3.Controls.Add(this.dataGridView1);
            this.uiGroupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.uiGroupBox3.Location = new System.Drawing.Point(476, 0);
            this.uiGroupBox3.Name = "uiGroupBox3";
            this.uiGroupBox3.Size = new System.Drawing.Size(532, 302);
            this.uiGroupBox3.TabIndex = 1;
            // 
            // dataGridView1
            // 
            this.dataGridView1.BackgroundColor = System.Drawing.Color.White;
            this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
            dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
            dataGridViewCellStyle28.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle28.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle28.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            dataGridViewCellStyle28.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle28.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle28.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle28;
            this.dataGridView1.ColumnHeadersHeight = 25;
            this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.Column1,
            this.Column2,
            this.Column3,
            this.Column4,
            this.Column5,
            this.Column11,
            this.Column6,
            this.Column7,
            this.Column8,
            this.Column9,
            this.Column10,
            this.dataGridViewTextBoxColumn1});
            dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle29.BackColor = System.Drawing.SystemColors.Window;
            dataGridViewCellStyle29.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle29.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            dataGridViewCellStyle29.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle29.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle29.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
            this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle29;
            this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dataGridView1.Location = new System.Drawing.Point(3, 8);
            this.dataGridView1.Name = "dataGridView1";
            dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle30.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle30.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle30.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            dataGridViewCellStyle30.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle30.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle30.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle30;
            this.dataGridView1.RowHeadersVisible = false;
            this.dataGridView1.RowHeadersWidth = 25;
            this.dataGridView1.Size = new System.Drawing.Size(526, 291);
            this.dataGridView1.TabIndex = 108;
            // 
            // Column1
            // 
            this.Column1.DataPropertyName = "htendtg";
            this.Column1.HeaderText = "Họ tên";
            this.Column1.Name = "Column1";
            this.Column1.Width = 150;
            // 
            // Column2
            // 
            this.Column2.DataPropertyName = "tendt";
            this.Column2.HeaderText = "Quan hệ";
            this.Column2.Name = "Column2";
            this.Column2.Width = 80;
            // 
            // Column3
            // 
            this.Column3.DataPropertyName = "phai";
            this.Column3.HeaderText = "Phái";
            this.Column3.Name = "Column3";
            this.Column3.Width = 60;
            // 
            // Column4
            // 
            this.Column4.DataPropertyName = "namsinh";
            this.Column4.HeaderText = "Năm sinh";
            this.Column4.Name = "Column4";
            this.Column4.Width = 60;
            // 
            // Column5
            // 
            this.Column5.DataPropertyName = "quequan";
            this.Column5.HeaderText = "Quê quán";
            this.Column5.Name = "Column5";
            this.Column5.Width = 220;
            // 
            // Column11
            // 
            this.Column11.DataPropertyName = "nghenghiep";
            this.Column11.HeaderText = "Nghề nghiệp";
            this.Column11.Name = "Column11";
            this.Column11.Width = 180;
            // 
            // Column6
            // 
            this.Column6.DataPropertyName = "manv";
            this.Column6.HeaderText = "manv";
            this.Column6.Name = "Column6";
            this.Column6.Visible = false;
            // 
            // Column7
            // 
            this.Column7.DataPropertyName = "hoan_canh";
            this.Column7.HeaderText = "hoanh_canh";
            this.Column7.Name = "Column7";
            this.Column7.Visible = false;
            // 
            // Column8
            // 
            this.Column8.DataPropertyName = "lietsi";
            this.Column8.HeaderText = "lietsi";
            this.Column8.Name = "Column8";
            this.Column8.Visible = false;
            // 
            // Column9
            // 
            this.Column9.DataPropertyName = "dacdiem";
            this.Column9.HeaderText = "dacdiem";
            this.Column9.Name = "Column9";
            this.Column9.Visible = false;
            // 
            // Column10
            // 
            this.Column10.DataPropertyName = "madt";
            this.Column10.HeaderText = "madt";
            this.Column10.Name = "Column10";
            this.Column10.Visible = false;
            // 
            // dataGridViewTextBoxColumn1
            // 
            this.dataGridViewTextBoxColumn1.DataPropertyName = "id";
            this.dataGridViewTextBoxColumn1.HeaderText = "id";
            this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
            this.dataGridViewTextBoxColumn1.Visible = false;
            // 
            // panel7
            // 
            this.panel7.Controls.Add(this.uiButton6);
            this.panel7.Controls.Add(this.uiButton7);
            this.panel7.Controls.Add(this.uiButton8);
            this.panel7.Controls.Add(this.uiButton9);
            this.panel7.Controls.Add(this.uiButton10);
            this.panel7.Controls.Add(this.txtST_CQ_dt);
            this.panel7.Controls.Add(this.label124);
            this.panel7.Controls.Add(this.txtghichu);
            this.panel7.Controls.Add(this.label119);
            this.panel7.Controls.Add(this.txt_nn);
            this.panel7.Controls.Add(this.label120);
            this.panel7.Controls.Add(this.txtGC_GC);
            this.panel7.Controls.Add(this.label170);
            this.panel7.Controls.Add(this.label121);
            this.panel7.Controls.Add(this.label171);
            this.panel7.Controls.Add(this.label122);
            this.panel7.Controls.Add(this.txtHT_GC);
            this.panel7.Controls.Add(this.cboP_GC);
            this.panel7.Controls.Add(this.txtNS_GC);
            this.panel7.Controls.Add(this.cboQH_GC);
            this.panel7.Controls.Add(this.ckbgiadinhthuongbinh);
            this.panel7.Controls.Add(this.txtDDGiaDinh);
            this.panel7.Controls.Add(this.ckbGiaDinhLietSi);
            this.panel7.Controls.Add(this.ckbTTHonNhan);
            this.panel7.Controls.Add(this.label118);
            this.panel7.Controls.Add(this.label123);
            this.panel7.Dock = System.Windows.Forms.DockStyle.Left;
            this.panel7.Location = new System.Drawing.Point(0, 0);
            this.panel7.Name = "panel7";
            this.panel7.Size = new System.Drawing.Size(476, 302);
            this.panel7.TabIndex = 0;
            // 
            // uiButton6
            // 
            this.uiButton6.Location = new System.Drawing.Point(391, 276);
            this.uiButton6.Name = "uiButton6";
            this.uiButton6.Size = new System.Drawing.Size(75, 23);
            this.uiButton6.TabIndex = 302;
            this.uiButton6.Text = "Bỏ qua";
            this.uiButton6.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton7
            // 
            this.uiButton7.Location = new System.Drawing.Point(314, 276);
            this.uiButton7.Name = "uiButton7";
            this.uiButton7.Size = new System.Drawing.Size(75, 23);
            this.uiButton7.TabIndex = 301;
            this.uiButton7.Text = "Xóa";
            this.uiButton7.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton8
            // 
            this.uiButton8.Location = new System.Drawing.Point(237, 276);
            this.uiButton8.Name = "uiButton8";
            this.uiButton8.Size = new System.Drawing.Size(75, 23);
            this.uiButton8.TabIndex = 300;
            this.uiButton8.Text = "Sửa";
            this.uiButton8.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton9
            // 
            this.uiButton9.Location = new System.Drawing.Point(160, 276);
            this.uiButton9.Name = "uiButton9";
            this.uiButton9.Size = new System.Drawing.Size(75, 23);
            this.uiButton9.TabIndex = 299;
            this.uiButton9.Text = "lưu";
            this.uiButton9.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton10
            // 
            this.uiButton10.Location = new System.Drawing.Point(83, 276);
            this.uiButton10.Name = "uiButton10";
            this.uiButton10.Size = new System.Drawing.Size(75, 23);
            this.uiButton10.TabIndex = 298;
            this.uiButton10.Text = "Thêm";
            this.uiButton10.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // txtST_CQ_dt
            // 
            this.txtST_CQ_dt.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtST_CQ_dt.ForeColor = System.Drawing.Color.Red;
            this.txtST_CQ_dt.Location = new System.Drawing.Point(103, 221);
            this.txtST_CQ_dt.Name = "txtST_CQ_dt";
            this.txtST_CQ_dt.ReadOnly = true;
            this.txtST_CQ_dt.Size = new System.Drawing.Size(64, 22);
            this.txtST_CQ_dt.TabIndex = 126;
            this.txtST_CQ_dt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtST_CQ_dt.WordWrap = false;
            // 
            // label124
            // 
            this.label124.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label124.ForeColor = System.Drawing.Color.Blue;
            this.label124.Location = new System.Drawing.Point(41, 220);
            this.label124.Name = "label124";
            this.label124.Size = new System.Drawing.Size(56, 24);
            this.label124.TabIndex = 127;
            this.label124.Text = "Tổng Số ";
            this.label124.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtghichu
            // 
            this.txtghichu.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtghichu.Enabled = false;
            this.txtghichu.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtghichu.Location = new System.Drawing.Point(104, 166);
            this.txtghichu.MaxLength = 40;
            this.txtghichu.Multiline = true;
            this.txtghichu.Name = "txtghichu";
            this.txtghichu.Size = new System.Drawing.Size(362, 49);
            this.txtghichu.TabIndex = 118;
            // 
            // label119
            // 
            this.label119.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label119.ForeColor = System.Drawing.Color.DarkBlue;
            this.label119.Location = new System.Drawing.Point(51, 202);
            this.label119.Name = "label119";
            this.label119.Size = new System.Drawing.Size(50, 13);
            this.label119.TabIndex = 125;
            this.label119.Text = "Ghi chú :";
            this.label119.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_nn
            // 
            this.txt_nn.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_nn.Enabled = false;
            this.txt_nn.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_nn.Location = new System.Drawing.Point(104, 143);
            this.txt_nn.MaxLength = 40;
            this.txt_nn.Name = "txt_nn";
            this.txt_nn.Size = new System.Drawing.Size(362, 20);
            this.txt_nn.TabIndex = 117;
            // 
            // label120
            // 
            this.label120.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label120.ForeColor = System.Drawing.Color.DarkBlue;
            this.label120.Location = new System.Drawing.Point(28, 147);
            this.label120.Name = "label120";
            this.label120.Size = new System.Drawing.Size(74, 13);
            this.label120.TabIndex = 124;
            this.label120.Text = "Nghề nghiệp :";
            this.label120.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtGC_GC
            // 
            this.txtGC_GC.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtGC_GC.Enabled = false;
            this.txtGC_GC.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtGC_GC.Location = new System.Drawing.Point(104, 121);
            this.txtGC_GC.MaxLength = 40;
            this.txtGC_GC.Name = "txtGC_GC";
            this.txtGC_GC.Size = new System.Drawing.Size(362, 20);
            this.txtGC_GC.TabIndex = 116;
            // 
            // label170
            // 
            this.label170.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label170.ForeColor = System.Drawing.Color.DarkBlue;
            this.label170.Location = new System.Drawing.Point(47, 76);
            this.label170.Name = "label170";
            this.label170.Size = new System.Drawing.Size(54, 13);
            this.label170.TabIndex = 120;
            this.label170.Text = "Quan hệ :";
            this.label170.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label121
            // 
            this.label121.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label121.ForeColor = System.Drawing.Color.DarkBlue;
            this.label121.Location = new System.Drawing.Point(68, 102);
            this.label121.Name = "label121";
            this.label121.Size = new System.Drawing.Size(34, 13);
            this.label121.TabIndex = 121;
            this.label121.Text = "Phái :";
            this.label121.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label171
            // 
            this.label171.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label171.ForeColor = System.Drawing.Color.DarkBlue;
            this.label171.Location = new System.Drawing.Point(185, 72);
            this.label171.Name = "label171";
            this.label171.Size = new System.Drawing.Size(45, 13);
            this.label171.TabIndex = 119;
            this.label171.Text = "Họ tên :";
            this.label171.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label122
            // 
            this.label122.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label122.ForeColor = System.Drawing.Color.DarkBlue;
            this.label122.Location = new System.Drawing.Point(41, 125);
            this.label122.Name = "label122";
            this.label122.Size = new System.Drawing.Size(60, 13);
            this.label122.TabIndex = 123;
            this.label122.Text = "Quê quán :";
            this.label122.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtHT_GC
            // 
            this.txtHT_GC.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtHT_GC.Enabled = false;
            this.txtHT_GC.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtHT_GC.Location = new System.Drawing.Point(233, 69);
            this.txtHT_GC.MaxLength = 30;
            this.txtHT_GC.Name = "txtHT_GC";
            this.txtHT_GC.Size = new System.Drawing.Size(233, 20);
            this.txtHT_GC.TabIndex = 113;
            // 
            // cboP_GC
            // 
            this.cboP_GC.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cboP_GC.Enabled = false;
            this.cboP_GC.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboP_GC.Location = new System.Drawing.Point(104, 98);
            this.cboP_GC.Name = "cboP_GC";
            this.cboP_GC.Size = new System.Drawing.Size(76, 21);
            this.cboP_GC.TabIndex = 114;
            // 
            // txtNS_GC
            // 
            this.txtNS_GC.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtNS_GC.Enabled = false;
            this.txtNS_GC.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtNS_GC.Location = new System.Drawing.Point(233, 95);
            this.txtNS_GC.MaxLength = 4;
            this.txtNS_GC.Name = "txtNS_GC";
            this.txtNS_GC.Size = new System.Drawing.Size(233, 20);
            this.txtNS_GC.TabIndex = 115;
            // 
            // cboQH_GC
            // 
            this.cboQH_GC.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cboQH_GC.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cboQH_GC.Enabled = false;
            this.cboQH_GC.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboQH_GC.Location = new System.Drawing.Point(104, 71);
            this.cboQH_GC.Name = "cboQH_GC";
            this.cboQH_GC.Size = new System.Drawing.Size(76, 21);
            this.cboQH_GC.TabIndex = 112;
            // 
            // ckbgiadinhthuongbinh
            // 
            this.ckbgiadinhthuongbinh.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ckbgiadinhthuongbinh.ForeColor = System.Drawing.Color.DarkBlue;
            this.ckbgiadinhthuongbinh.Location = new System.Drawing.Point(336, 10);
            this.ckbgiadinhthuongbinh.Name = "ckbgiadinhthuongbinh";
            this.ckbgiadinhthuongbinh.Size = new System.Drawing.Size(132, 24);
            this.ckbgiadinhthuongbinh.TabIndex = 21;
            this.ckbgiadinhthuongbinh.Text = "Gia đình thương binh";
            // 
            // txtDDGiaDinh
            // 
            this.txtDDGiaDinh.Location = new System.Drawing.Point(104, 46);
            this.txtDDGiaDinh.MaxLength = 30;
            this.txtDDGiaDinh.Name = "txtDDGiaDinh";
            this.txtDDGiaDinh.Size = new System.Drawing.Size(362, 20);
            this.txtDDGiaDinh.TabIndex = 20;
            // 
            // ckbGiaDinhLietSi
            // 
            this.ckbGiaDinhLietSi.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ckbGiaDinhLietSi.ForeColor = System.Drawing.Color.DarkBlue;
            this.ckbGiaDinhLietSi.Location = new System.Drawing.Point(204, 10);
            this.ckbGiaDinhLietSi.Name = "ckbGiaDinhLietSi";
            this.ckbGiaDinhLietSi.Size = new System.Drawing.Size(104, 24);
            this.ckbGiaDinhLietSi.TabIndex = 18;
            this.ckbGiaDinhLietSi.Text = "Gia đình liệt sĩ";
            // 
            // ckbTTHonNhan
            // 
            this.ckbTTHonNhan.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ckbTTHonNhan.ForeColor = System.Drawing.Color.DarkBlue;
            this.ckbTTHonNhan.Location = new System.Drawing.Point(27, 10);
            this.ckbTTHonNhan.Name = "ckbTTHonNhan";
            this.ckbTTHonNhan.Size = new System.Drawing.Size(136, 24);
            this.ckbTTHonNhan.TabIndex = 17;
            this.ckbTTHonNhan.Text = "Tình trạng hôn nhân";
            // 
            // label118
            // 
            this.label118.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label118.ForeColor = System.Drawing.Color.DarkBlue;
            this.label118.Location = new System.Drawing.Point(3, 44);
            this.label118.Name = "label118";
            this.label118.Size = new System.Drawing.Size(102, 24);
            this.label118.TabIndex = 19;
            this.label118.Text = "Đặc điểm gia cảnh ";
            this.label118.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label123
            // 
            this.label123.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label123.ForeColor = System.Drawing.Color.DarkBlue;
            this.label123.Location = new System.Drawing.Point(179, 100);
            this.label123.Name = "label123";
            this.label123.Size = new System.Drawing.Size(57, 13);
            this.label123.TabIndex = 122;
            this.label123.Text = "Năm sinh :";
            this.label123.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // uiTabPage5
            // 
            this.uiTabPage5.Controls.Add(this.uiGroupBox4);
            this.uiTabPage5.Controls.Add(this.panel9);
            this.uiTabPage5.Location = new System.Drawing.Point(1, 21);
            this.uiTabPage5.Name = "uiTabPage5";
            this.uiTabPage5.Size = new System.Drawing.Size(1008, 302);
            this.uiTabPage5.TabStop = true;
            this.uiTabPage5.Text = "Nước ngoài";
            // 
            // uiGroupBox4
            // 
            this.uiGroupBox4.Controls.Add(this.dataGridView2);
            this.uiGroupBox4.Dock = System.Windows.Forms.DockStyle.Fill;
            this.uiGroupBox4.Location = new System.Drawing.Point(397, 0);
            this.uiGroupBox4.Name = "uiGroupBox4";
            this.uiGroupBox4.Size = new System.Drawing.Size(611, 302);
            this.uiGroupBox4.TabIndex = 1;
            // 
            // dataGridView2
            // 
            this.dataGridView2.BackgroundColor = System.Drawing.Color.White;
            dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
            dataGridViewCellStyle31.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle31.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle31.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle31.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle31.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle31.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle31;
            this.dataGridView2.ColumnHeadersHeight = 25;
            this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.dataGridViewTextBoxColumn2,
            this.dataGridViewTextBoxColumn3,
            this.dataGridViewTextBoxColumn4,
            this.dataGridViewTextBoxColumn5,
            this.dataGridViewTextBoxColumn6,
            this.dataGridViewTextBoxColumn7,
            this.dataGridViewTextBoxColumn8,
            this.dataGridViewTextBoxColumn9,
            this.dataGridViewTextBoxColumn10});
            this.dataGridView2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dataGridView2.Location = new System.Drawing.Point(3, 8);
            this.dataGridView2.Name = "dataGridView2";
            this.dataGridView2.RowHeadersVisible = false;
            this.dataGridView2.RowHeadersWidth = 25;
            this.dataGridView2.Size = new System.Drawing.Size(605, 291);
            this.dataGridView2.TabIndex = 223;
            // 
            // dataGridViewTextBoxColumn2
            // 
            this.dataGridViewTextBoxColumn2.DataPropertyName = "nam";
            this.dataGridViewTextBoxColumn2.HeaderText = "Năm";
            this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
            this.dataGridViewTextBoxColumn2.Width = 80;
            // 
            // dataGridViewTextBoxColumn3
            // 
            this.dataGridViewTextBoxColumn3.DataPropertyName = "tenqg";
            this.dataGridViewTextBoxColumn3.HeaderText = "Quốc gia";
            this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
            this.dataGridViewTextBoxColumn3.Width = 150;
            // 
            // dataGridViewTextBoxColumn4
            // 
            this.dataGridViewTextBoxColumn4.DataPropertyName = "t_gian";
            this.dataGridViewTextBoxColumn4.HeaderText = "Thời gian";
            this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
            this.dataGridViewTextBoxColumn4.Width = 80;
            // 
            // dataGridViewTextBoxColumn5
            // 
            this.dataGridViewTextBoxColumn5.DataPropertyName = "dvtgian";
            this.dataGridViewTextBoxColumn5.HeaderText = "Đơn vị";
            this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
            // 
            // dataGridViewTextBoxColumn6
            // 
            this.dataGridViewTextBoxColumn6.DataPropertyName = "tu_ngay";
            this.dataGridViewTextBoxColumn6.HeaderText = "Từ ngày";
            this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
            // 
            // dataGridViewTextBoxColumn7
            // 
            this.dataGridViewTextBoxColumn7.DataPropertyName = "den_ngay";
            this.dataGridViewTextBoxColumn7.HeaderText = "Đến ngày";
            this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
            // 
            // dataGridViewTextBoxColumn8
            // 
            this.dataGridViewTextBoxColumn8.DataPropertyName = "lamgi";
            this.dataGridViewTextBoxColumn8.HeaderText = "Công việc";
            this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
            this.dataGridViewTextBoxColumn8.Width = 200;
            // 
            // dataGridViewTextBoxColumn9
            // 
            this.dataGridViewTextBoxColumn9.DataPropertyName = "manv";
            this.dataGridViewTextBoxColumn9.HeaderText = "Mã NV";
            this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
            this.dataGridViewTextBoxColumn9.Visible = false;
            // 
            // dataGridViewTextBoxColumn10
            // 
            this.dataGridViewTextBoxColumn10.DataPropertyName = "maqgia";
            this.dataGridViewTextBoxColumn10.HeaderText = "Mã quốc gia";
            this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
            this.dataGridViewTextBoxColumn10.Visible = false;
            // 
            // panel9
            // 
            this.panel9.Controls.Add(this.uiButton11);
            this.panel9.Controls.Add(this.uiButton12);
            this.panel9.Controls.Add(this.uiButton13);
            this.panel9.Controls.Add(this.uiButton14);
            this.panel9.Controls.Add(this.uiButton15);
            this.panel9.Controls.Add(this.label125);
            this.panel9.Controls.Add(this.txtCV_NN);
            this.panel9.Controls.Add(this.label178);
            this.panel9.Controls.Add(this.txtNTT_CQ_dt);
            this.panel9.Controls.Add(this.txtDN_NN);
            this.panel9.Controls.Add(this.txtTN_NN);
            this.panel9.Controls.Add(this.label177);
            this.panel9.Controls.Add(this.label172);
            this.panel9.Controls.Add(this.cboDV_NN);
            this.panel9.Controls.Add(this.label173);
            this.panel9.Controls.Add(this.txtTG_NN);
            this.panel9.Controls.Add(this.cboQG_NN);
            this.panel9.Controls.Add(this.label174);
            this.panel9.Controls.Add(this.label175);
            this.panel9.Controls.Add(this.label176);
            this.panel9.Controls.Add(this.txtN_NN);
            this.panel9.Dock = System.Windows.Forms.DockStyle.Left;
            this.panel9.Location = new System.Drawing.Point(0, 0);
            this.panel9.Name = "panel9";
            this.panel9.Size = new System.Drawing.Size(397, 302);
            this.panel9.TabIndex = 0;
            // 
            // uiButton11
            // 
            this.uiButton11.Location = new System.Drawing.Point(314, 274);
            this.uiButton11.Name = "uiButton11";
            this.uiButton11.Size = new System.Drawing.Size(75, 23);
            this.uiButton11.TabIndex = 307;
            this.uiButton11.Text = "Bỏ qua";
            this.uiButton11.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton12
            // 
            this.uiButton12.Location = new System.Drawing.Point(237, 274);
            this.uiButton12.Name = "uiButton12";
            this.uiButton12.Size = new System.Drawing.Size(75, 23);
            this.uiButton12.TabIndex = 306;
            this.uiButton12.Text = "Xóa";
            this.uiButton12.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton13
            // 
            this.uiButton13.Location = new System.Drawing.Point(160, 274);
            this.uiButton13.Name = "uiButton13";
            this.uiButton13.Size = new System.Drawing.Size(75, 23);
            this.uiButton13.TabIndex = 305;
            this.uiButton13.Text = "Sửa";
            this.uiButton13.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton14
            // 
            this.uiButton14.Location = new System.Drawing.Point(83, 274);
            this.uiButton14.Name = "uiButton14";
            this.uiButton14.Size = new System.Drawing.Size(75, 23);
            this.uiButton14.TabIndex = 304;
            this.uiButton14.Text = "lưu";
            this.uiButton14.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton15
            // 
            this.uiButton15.Location = new System.Drawing.Point(6, 274);
            this.uiButton15.Name = "uiButton15";
            this.uiButton15.Size = new System.Drawing.Size(75, 23);
            this.uiButton15.TabIndex = 303;
            this.uiButton15.Text = "Thêm";
            this.uiButton15.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // label125
            // 
            this.label125.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label125.ForeColor = System.Drawing.Color.Blue;
            this.label125.Location = new System.Drawing.Point(272, 251);
            this.label125.Name = "label125";
            this.label125.Size = new System.Drawing.Size(67, 13);
            this.label125.TabIndex = 107;
            this.label125.Text = "Tổng  Số ";
            this.label125.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.label125.Visible = false;
            // 
            // txtCV_NN
            // 
            this.txtCV_NN.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtCV_NN.BackColor = System.Drawing.Color.White;
            this.txtCV_NN.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtCV_NN.ForeColor = System.Drawing.Color.DarkBlue;
            this.txtCV_NN.Location = new System.Drawing.Point(60, 103);
            this.txtCV_NN.MaxLength = 50;
            this.txtCV_NN.Multiline = true;
            this.txtCV_NN.Name = "txtCV_NN";
            this.txtCV_NN.Size = new System.Drawing.Size(325, 117);
            this.txtCV_NN.TabIndex = 105;
            // 
            // label178
            // 
            this.label178.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label178.ForeColor = System.Drawing.Color.DarkBlue;
            this.label178.Location = new System.Drawing.Point(-1, 111);
            this.label178.Name = "label178";
            this.label178.Size = new System.Drawing.Size(59, 13);
            this.label178.TabIndex = 104;
            this.label178.Text = "Công Việc ";
            this.label178.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtNTT_CQ_dt
            // 
            this.txtNTT_CQ_dt.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtNTT_CQ_dt.ForeColor = System.Drawing.Color.Red;
            this.txtNTT_CQ_dt.Location = new System.Drawing.Point(341, 246);
            this.txtNTT_CQ_dt.Name = "txtNTT_CQ_dt";
            this.txtNTT_CQ_dt.Size = new System.Drawing.Size(42, 22);
            this.txtNTT_CQ_dt.TabIndex = 106;
            this.txtNTT_CQ_dt.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtNTT_CQ_dt.Visible = false;
            this.txtNTT_CQ_dt.WordWrap = false;
            // 
            // txtDN_NN
            // 
            this.txtDN_NN.BackColor = System.Drawing.Color.White;
            this.txtDN_NN.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtDN_NN.ForeColor = System.Drawing.Color.Navy;
            this.txtDN_NN.Location = new System.Drawing.Point(254, 78);
            this.txtDN_NN.Mask = "00/00/0000";
            this.txtDN_NN.Name = "txtDN_NN";
            this.txtDN_NN.Size = new System.Drawing.Size(133, 21);
            this.txtDN_NN.TabIndex = 74;
            this.txtDN_NN.ValidatingType = typeof(System.DateTime);
            // 
            // txtTN_NN
            // 
            this.txtTN_NN.BackColor = System.Drawing.Color.White;
            this.txtTN_NN.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTN_NN.ForeColor = System.Drawing.Color.Navy;
            this.txtTN_NN.Location = new System.Drawing.Point(60, 78);
            this.txtTN_NN.Mask = "00/00/0000";
            this.txtTN_NN.Name = "txtTN_NN";
            this.txtTN_NN.Size = new System.Drawing.Size(132, 21);
            this.txtTN_NN.TabIndex = 73;
            this.txtTN_NN.ValidatingType = typeof(System.DateTime);
            // 
            // label177
            // 
            this.label177.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label177.ForeColor = System.Drawing.Color.DarkBlue;
            this.label177.Location = new System.Drawing.Point(197, 81);
            this.label177.Name = "label177";
            this.label177.Size = new System.Drawing.Size(58, 13);
            this.label177.TabIndex = 72;
            this.label177.Text = "Đến Ngày ";
            this.label177.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label172
            // 
            this.label172.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label172.ForeColor = System.Drawing.Color.DarkBlue;
            this.label172.Location = new System.Drawing.Point(8, 81);
            this.label172.Name = "label172";
            this.label172.Size = new System.Drawing.Size(51, 13);
            this.label172.TabIndex = 71;
            this.label172.Text = "Từ Ngày ";
            this.label172.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cboDV_NN
            // 
            this.cboDV_NN.BackColor = System.Drawing.Color.White;
            this.cboDV_NN.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboDV_NN.ForeColor = System.Drawing.Color.DarkBlue;
            this.cboDV_NN.Location = new System.Drawing.Point(254, 52);
            this.cboDV_NN.Name = "cboDV_NN";
            this.cboDV_NN.Size = new System.Drawing.Size(133, 21);
            this.cboDV_NN.TabIndex = 70;
            // 
            // label173
            // 
            this.label173.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label173.ForeColor = System.Drawing.Color.DarkBlue;
            this.label173.Location = new System.Drawing.Point(211, 57);
            this.label173.Name = "label173";
            this.label173.Size = new System.Drawing.Size(42, 13);
            this.label173.TabIndex = 69;
            this.label173.Text = "Đơn Vị ";
            this.label173.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtTG_NN
            // 
            this.txtTG_NN.BackColor = System.Drawing.Color.White;
            this.txtTG_NN.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTG_NN.ForeColor = System.Drawing.Color.DarkBlue;
            this.txtTG_NN.Location = new System.Drawing.Point(60, 52);
            this.txtTG_NN.MaxLength = 5;
            this.txtTG_NN.Name = "txtTG_NN";
            this.txtTG_NN.Size = new System.Drawing.Size(132, 21);
            this.txtTG_NN.TabIndex = 68;
            // 
            // cboQG_NN
            // 
            this.cboQG_NN.BackColor = System.Drawing.Color.White;
            this.cboQG_NN.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboQG_NN.ForeColor = System.Drawing.Color.DarkBlue;
            this.cboQG_NN.Location = new System.Drawing.Point(254, 25);
            this.cboQG_NN.Name = "cboQG_NN";
            this.cboQG_NN.Size = new System.Drawing.Size(133, 21);
            this.cboQG_NN.TabIndex = 67;
            // 
            // label174
            // 
            this.label174.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label174.ForeColor = System.Drawing.Color.DarkBlue;
            this.label174.Location = new System.Drawing.Point(3, 57);
            this.label174.Name = "label174";
            this.label174.Size = new System.Drawing.Size(56, 13);
            this.label174.TabIndex = 65;
            this.label174.Text = "Thời Gian ";
            this.label174.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label175
            // 
            this.label175.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label175.ForeColor = System.Drawing.Color.DarkBlue;
            this.label175.Location = new System.Drawing.Point(198, 30);
            this.label175.Name = "label175";
            this.label175.Size = new System.Drawing.Size(55, 13);
            this.label175.TabIndex = 64;
            this.label175.Text = "Quốc Gia ";
            this.label175.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label176
            // 
            this.label176.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label176.ForeColor = System.Drawing.Color.DarkBlue;
            this.label176.Location = new System.Drawing.Point(26, 30);
            this.label176.Name = "label176";
            this.label176.Size = new System.Drawing.Size(32, 13);
            this.label176.TabIndex = 63;
            this.label176.Text = "Năm ";
            this.label176.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtN_NN
            // 
            this.txtN_NN.BackColor = System.Drawing.Color.White;
            this.txtN_NN.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtN_NN.ForeColor = System.Drawing.Color.DarkBlue;
            this.txtN_NN.Location = new System.Drawing.Point(60, 25);
            this.txtN_NN.MaxLength = 4;
            this.txtN_NN.Name = "txtN_NN";
            this.txtN_NN.Size = new System.Drawing.Size(132, 21);
            this.txtN_NN.TabIndex = 66;
            // 
            // uiTabPage6
            // 
            this.uiTabPage6.Controls.Add(this.panel10);
            this.uiTabPage6.Controls.Add(this.uiGroupBox7);
            this.uiTabPage6.Controls.Add(this.uiGroupBox6);
            this.uiTabPage6.Controls.Add(this.uiGroupBox5);
            this.uiTabPage6.Location = new System.Drawing.Point(1, 21);
            this.uiTabPage6.Name = "uiTabPage6";
            this.uiTabPage6.Size = new System.Drawing.Size(1008, 302);
            this.uiTabPage6.TabStop = true;
            this.uiTabPage6.Text = "Cấp sổ";
            // 
            // panel10
            // 
            this.panel10.Controls.Add(this.uiButton16);
            this.panel10.Controls.Add(this.uiButton17);
            this.panel10.Controls.Add(this.uiButton18);
            this.panel10.Controls.Add(this.uiButton19);
            this.panel10.Controls.Add(this.uiButton20);
            this.panel10.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel10.Location = new System.Drawing.Point(0, 259);
            this.panel10.Name = "panel10";
            this.panel10.Size = new System.Drawing.Size(1008, 43);
            this.panel10.TabIndex = 3;
            // 
            // uiButton16
            // 
            this.uiButton16.Location = new System.Drawing.Point(681, 11);
            this.uiButton16.Name = "uiButton16";
            this.uiButton16.Size = new System.Drawing.Size(75, 23);
            this.uiButton16.TabIndex = 312;
            this.uiButton16.Text = "Bỏ qua";
            this.uiButton16.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton17
            // 
            this.uiButton17.Location = new System.Drawing.Point(604, 11);
            this.uiButton17.Name = "uiButton17";
            this.uiButton17.Size = new System.Drawing.Size(75, 23);
            this.uiButton17.TabIndex = 311;
            this.uiButton17.Text = "Xóa";
            this.uiButton17.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton18
            // 
            this.uiButton18.Location = new System.Drawing.Point(527, 11);
            this.uiButton18.Name = "uiButton18";
            this.uiButton18.Size = new System.Drawing.Size(75, 23);
            this.uiButton18.TabIndex = 310;
            this.uiButton18.Text = "Sửa";
            this.uiButton18.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton19
            // 
            this.uiButton19.Location = new System.Drawing.Point(450, 11);
            this.uiButton19.Name = "uiButton19";
            this.uiButton19.Size = new System.Drawing.Size(75, 23);
            this.uiButton19.TabIndex = 309;
            this.uiButton19.Text = "lưu";
            this.uiButton19.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton20
            // 
            this.uiButton20.Location = new System.Drawing.Point(373, 11);
            this.uiButton20.Name = "uiButton20";
            this.uiButton20.Size = new System.Drawing.Size(75, 23);
            this.uiButton20.TabIndex = 308;
            this.uiButton20.Text = "Thêm";
            this.uiButton20.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiGroupBox7
            // 
            this.uiGroupBox7.Controls.Add(this.txtDBHYT_CS);
            this.uiGroupBox7.Controls.Add(this.txtTHTBHYT_CS);
            this.uiGroupBox7.Controls.Add(this.txtNCBHYT_CS);
            this.uiGroupBox7.Controls.Add(this.cboBHKBHYT_CS);
            this.uiGroupBox7.Controls.Add(this.cboBHNTBHYT_CS);
            this.uiGroupBox7.Controls.Add(this.cboBHTN24BHYT_CS);
            this.uiGroupBox7.Controls.Add(this.cboTBVBHYT_CS);
            this.uiGroupBox7.Controls.Add(this.cboTBHYT_CS);
            this.uiGroupBox7.Controls.Add(this.txtSTBHYT_CS);
            this.uiGroupBox7.Controls.Add(this.label141);
            this.uiGroupBox7.Controls.Add(this.label142);
            this.uiGroupBox7.Controls.Add(this.label143);
            this.uiGroupBox7.Controls.Add(this.label144);
            this.uiGroupBox7.Controls.Add(this.label145);
            this.uiGroupBox7.Controls.Add(this.label146);
            this.uiGroupBox7.Controls.Add(this.label147);
            this.uiGroupBox7.Controls.Add(this.label148);
            this.uiGroupBox7.Controls.Add(this.label149);
            this.uiGroupBox7.Dock = System.Windows.Forms.DockStyle.Top;
            this.uiGroupBox7.Location = new System.Drawing.Point(0, 160);
            this.uiGroupBox7.Name = "uiGroupBox7";
            this.uiGroupBox7.Size = new System.Drawing.Size(1008, 99);
            this.uiGroupBox7.TabIndex = 2;
            this.uiGroupBox7.Text = "Sổ bảo hiểm y tế";
            // 
            // txtDBHYT_CS
            // 
            this.txtDBHYT_CS.Location = new System.Drawing.Point(300, 40);
            this.txtDBHYT_CS.Mask = "00/00/0000";
            this.txtDBHYT_CS.Name = "txtDBHYT_CS";
            this.txtDBHYT_CS.Size = new System.Drawing.Size(97, 20);
            this.txtDBHYT_CS.TabIndex = 245;
            this.txtDBHYT_CS.ValidatingType = typeof(System.DateTime);
            // 
            // txtTHTBHYT_CS
            // 
            this.txtTHTBHYT_CS.Location = new System.Drawing.Point(123, 40);
            this.txtTHTBHYT_CS.Mask = "00/00/0000";
            this.txtTHTBHYT_CS.Name = "txtTHTBHYT_CS";
            this.txtTHTBHYT_CS.Size = new System.Drawing.Size(114, 20);
            this.txtTHTBHYT_CS.TabIndex = 244;
            this.txtTHTBHYT_CS.ValidatingType = typeof(System.DateTime);
            // 
            // txtNCBHYT_CS
            // 
            this.txtNCBHYT_CS.Location = new System.Drawing.Point(468, 14);
            this.txtNCBHYT_CS.Mask = "00/00/0000";
            this.txtNCBHYT_CS.Name = "txtNCBHYT_CS";
            this.txtNCBHYT_CS.Size = new System.Drawing.Size(240, 20);
            this.txtNCBHYT_CS.TabIndex = 242;
            this.txtNCBHYT_CS.ValidatingType = typeof(System.DateTime);
            // 
            // cboBHKBHYT_CS
            // 
            this.cboBHKBHYT_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboBHKBHYT_CS.Location = new System.Drawing.Point(470, 65);
            this.cboBHKBHYT_CS.Name = "cboBHKBHYT_CS";
            this.cboBHKBHYT_CS.Size = new System.Drawing.Size(532, 21);
            this.cboBHKBHYT_CS.TabIndex = 249;
            // 
            // cboBHNTBHYT_CS
            // 
            this.cboBHNTBHYT_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboBHNTBHYT_CS.Location = new System.Drawing.Point(123, 65);
            this.cboBHNTBHYT_CS.Name = "cboBHNTBHYT_CS";
            this.cboBHNTBHYT_CS.Size = new System.Drawing.Size(274, 21);
            this.cboBHNTBHYT_CS.TabIndex = 248;
            // 
            // cboBHTN24BHYT_CS
            // 
            this.cboBHTN24BHYT_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboBHTN24BHYT_CS.Location = new System.Drawing.Point(804, 40);
            this.cboBHTN24BHYT_CS.Name = "cboBHTN24BHYT_CS";
            this.cboBHTN24BHYT_CS.Size = new System.Drawing.Size(197, 21);
            this.cboBHTN24BHYT_CS.TabIndex = 247;
            // 
            // cboTBVBHYT_CS
            // 
            this.cboTBVBHYT_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboTBVBHYT_CS.Location = new System.Drawing.Point(469, 40);
            this.cboTBVBHYT_CS.Name = "cboTBVBHYT_CS";
            this.cboTBVBHYT_CS.Size = new System.Drawing.Size(239, 21);
            this.cboTBVBHYT_CS.TabIndex = 246;
            // 
            // cboTBHYT_CS
            // 
            this.cboTBHYT_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboTBHYT_CS.Location = new System.Drawing.Point(804, 14);
            this.cboTBHYT_CS.Name = "cboTBHYT_CS";
            this.cboTBHYT_CS.Size = new System.Drawing.Size(197, 21);
            this.cboTBHYT_CS.TabIndex = 243;
            // 
            // txtSTBHYT_CS
            // 
            this.txtSTBHYT_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtSTBHYT_CS.ForeColor = System.Drawing.Color.Red;
            this.txtSTBHYT_CS.Location = new System.Drawing.Point(123, 14);
            this.txtSTBHYT_CS.MaxLength = 20;
            this.txtSTBHYT_CS.Name = "txtSTBHYT_CS";
            this.txtSTBHYT_CS.Size = new System.Drawing.Size(274, 20);
            this.txtSTBHYT_CS.TabIndex = 241;
            // 
            // label141
            // 
            this.label141.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label141.ForeColor = System.Drawing.Color.DarkBlue;
            this.label141.Location = new System.Drawing.Point(45, 69);
            this.label141.Name = "label141";
            this.label141.Size = new System.Drawing.Size(76, 14);
            this.label141.TabIndex = 240;
            this.label141.Text = "BH nhân thọ ";
            this.label141.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label142
            // 
            this.label142.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label142.ForeColor = System.Drawing.Color.DarkBlue;
            this.label142.Location = new System.Drawing.Point(415, 69);
            this.label142.Name = "label142";
            this.label142.Size = new System.Drawing.Size(54, 14);
            this.label142.TabIndex = 239;
            this.label142.Text = "BH khác ";
            this.label142.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label143
            // 
            this.label143.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label143.ForeColor = System.Drawing.Color.DarkBlue;
            this.label143.Location = new System.Drawing.Point(399, 43);
            this.label143.Name = "label143";
            this.label143.Size = new System.Drawing.Size(68, 14);
            this.label143.TabIndex = 238;
            this.label143.Text = "Cơ quan";
            this.label143.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label144
            // 
            this.label144.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label144.ForeColor = System.Drawing.Color.DarkBlue;
            this.label144.Location = new System.Drawing.Point(776, 19);
            this.label144.Name = "label144";
            this.label144.Size = new System.Drawing.Size(25, 13);
            this.label144.TabIndex = 237;
            this.label144.Text = "Tại ";
            this.label144.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label145
            // 
            this.label145.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label145.ForeColor = System.Drawing.Color.DarkBlue;
            this.label145.Location = new System.Drawing.Point(270, 43);
            this.label145.Name = "label145";
            this.label145.Size = new System.Drawing.Size(29, 13);
            this.label145.TabIndex = 235;
            this.label145.Text = "đến ";
            this.label145.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label146
            // 
            this.label146.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label146.ForeColor = System.Drawing.Color.DarkBlue;
            this.label146.Location = new System.Drawing.Point(58, 43);
            this.label146.Name = "label146";
            this.label146.Size = new System.Drawing.Size(64, 13);
            this.label146.TabIndex = 233;
            this.label146.Text = "Thời hạn từ ";
            this.label146.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label147
            // 
            this.label147.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label147.ForeColor = System.Drawing.Color.DarkBlue;
            this.label147.Location = new System.Drawing.Point(80, 19);
            this.label147.Name = "label147";
            this.label147.Size = new System.Drawing.Size(41, 13);
            this.label147.TabIndex = 232;
            this.label147.Text = "Số thẻ ";
            this.label147.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label148
            // 
            this.label148.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label148.ForeColor = System.Drawing.Color.DarkBlue;
            this.label148.Location = new System.Drawing.Point(406, 19);
            this.label148.Name = "label148";
            this.label148.Size = new System.Drawing.Size(60, 14);
            this.label148.TabIndex = 236;
            this.label148.Text = "Ngày cấp ";
            this.label148.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label149
            // 
            this.label149.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label149.ForeColor = System.Drawing.Color.DarkBlue;
            this.label149.Location = new System.Drawing.Point(726, 43);
            this.label149.Name = "label149";
            this.label149.Size = new System.Drawing.Size(76, 14);
            this.label149.TabIndex = 234;
            this.label149.Text = "BHTN 24/24 ";
            this.label149.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // uiGroupBox6
            // 
            this.uiGroupBox6.Controls.Add(this.txtNCBHXH_CS);
            this.uiGroupBox6.Controls.Add(this.txtNBHXH_CS);
            this.uiGroupBox6.Controls.Add(this.txtTTGTBHXH_CS);
            this.uiGroupBox6.Controls.Add(this.txtSTKTBHXH_CS);
            this.uiGroupBox6.Controls.Add(this.cboNCBHXH_CS);
            this.uiGroupBox6.Controls.Add(this.txtSSBHXH_CS);
            this.uiGroupBox6.Controls.Add(this.label134);
            this.uiGroupBox6.Controls.Add(this.label135);
            this.uiGroupBox6.Controls.Add(this.label136);
            this.uiGroupBox6.Controls.Add(this.label137);
            this.uiGroupBox6.Controls.Add(this.label138);
            this.uiGroupBox6.Controls.Add(this.label139);
            this.uiGroupBox6.Controls.Add(this.label140);
            this.uiGroupBox6.Dock = System.Windows.Forms.DockStyle.Top;
            this.uiGroupBox6.Location = new System.Drawing.Point(0, 75);
            this.uiGroupBox6.Name = "uiGroupBox6";
            this.uiGroupBox6.Size = new System.Drawing.Size(1008, 85);
            this.uiGroupBox6.TabIndex = 1;
            this.uiGroupBox6.Text = "Sổ bảo hiểm xã hội";
            // 
            // txtNCBHXH_CS
            // 
            this.txtNCBHXH_CS.Location = new System.Drawing.Point(302, 19);
            this.txtNCBHXH_CS.Mask = "00/00/0000";
            this.txtNCBHXH_CS.Name = "txtNCBHXH_CS";
            this.txtNCBHXH_CS.Size = new System.Drawing.Size(95, 20);
            this.txtNCBHXH_CS.TabIndex = 231;
            this.txtNCBHXH_CS.ValidatingType = typeof(System.DateTime);
            // 
            // txtNBHXH_CS
            // 
            this.txtNBHXH_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtNBHXH_CS.ForeColor = System.Drawing.Color.Black;
            this.txtNBHXH_CS.Location = new System.Drawing.Point(560, 43);
            this.txtNBHXH_CS.Name = "txtNBHXH_CS";
            this.txtNBHXH_CS.Size = new System.Drawing.Size(49, 20);
            this.txtNBHXH_CS.TabIndex = 235;
            // 
            // txtTTGTBHXH_CS
            // 
            this.txtTTGTBHXH_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTTGTBHXH_CS.ForeColor = System.Drawing.Color.Black;
            this.txtTTGTBHXH_CS.Location = new System.Drawing.Point(469, 43);
            this.txtTTGTBHXH_CS.Name = "txtTTGTBHXH_CS";
            this.txtTTGTBHXH_CS.Size = new System.Drawing.Size(56, 20);
            this.txtTTGTBHXH_CS.TabIndex = 234;
            // 
            // txtSTKTBHXH_CS
            // 
            this.txtSTKTBHXH_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtSTKTBHXH_CS.ForeColor = System.Drawing.Color.Black;
            this.txtSTKTBHXH_CS.Location = new System.Drawing.Point(183, 43);
            this.txtSTKTBHXH_CS.Name = "txtSTKTBHXH_CS";
            this.txtSTKTBHXH_CS.Size = new System.Drawing.Size(54, 20);
            this.txtSTKTBHXH_CS.TabIndex = 233;
            // 
            // cboNCBHXH_CS
            // 
            this.cboNCBHXH_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboNCBHXH_CS.Location = new System.Drawing.Point(468, 19);
            this.cboNCBHXH_CS.Name = "cboNCBHXH_CS";
            this.cboNCBHXH_CS.Size = new System.Drawing.Size(533, 21);
            this.cboNCBHXH_CS.TabIndex = 232;
            // 
            // txtSSBHXH_CS
            // 
            this.txtSSBHXH_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtSSBHXH_CS.ForeColor = System.Drawing.Color.Red;
            this.txtSSBHXH_CS.Location = new System.Drawing.Point(125, 19);
            this.txtSSBHXH_CS.MaxLength = 10;
            this.txtSSBHXH_CS.Name = "txtSSBHXH_CS";
            this.txtSSBHXH_CS.Size = new System.Drawing.Size(112, 20);
            this.txtSSBHXH_CS.TabIndex = 230;
            // 
            // label134
            // 
            this.label134.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label134.ForeColor = System.Drawing.Color.DarkBlue;
            this.label134.Location = new System.Drawing.Point(337, 46);
            this.label134.Name = "label134";
            this.label134.Size = new System.Drawing.Size(130, 13);
            this.label134.TabIndex = 227;
            this.label134.Text = "Tổng thời gian tính BHXH";
            this.label134.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label135
            // 
            this.label135.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label135.ForeColor = System.Drawing.Color.DarkBlue;
            this.label135.Location = new System.Drawing.Point(611, 45);
            this.label135.Name = "label135";
            this.label135.Size = new System.Drawing.Size(35, 14);
            this.label135.TabIndex = 229;
            this.label135.Text = "tháng";
            this.label135.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label136
            // 
            this.label136.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label136.ForeColor = System.Drawing.Color.DarkBlue;
            this.label136.Location = new System.Drawing.Point(241, 23);
            this.label136.Name = "label136";
            this.label136.Size = new System.Drawing.Size(60, 14);
            this.label136.TabIndex = 225;
            this.label136.Text = "Ngày cấp ";
            this.label136.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label137
            // 
            this.label137.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label137.ForeColor = System.Drawing.Color.DarkBlue;
            this.label137.Location = new System.Drawing.Point(85, 23);
            this.label137.Name = "label137";
            this.label137.Size = new System.Drawing.Size(39, 14);
            this.label137.TabIndex = 223;
            this.label137.Text = "Số sổ ";
            this.label137.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label138
            // 
            this.label138.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label138.ForeColor = System.Drawing.Color.DarkBlue;
            this.label138.Location = new System.Drawing.Point(417, 23);
            this.label138.Name = "label138";
            this.label138.Size = new System.Drawing.Size(50, 13);
            this.label138.TabIndex = 226;
            this.label138.Text = "Nơi cấp ";
            this.label138.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label139
            // 
            this.label139.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label139.ForeColor = System.Drawing.Color.DarkBlue;
            this.label139.Location = new System.Drawing.Point(36, 45);
            this.label139.Name = "label139";
            this.label139.Size = new System.Drawing.Size(145, 16);
            this.label139.TabIndex = 224;
            this.label139.Text = "Số tháng không tính BHXH ";
            this.label139.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label140
            // 
            this.label140.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label140.ForeColor = System.Drawing.Color.DarkBlue;
            this.label140.Location = new System.Drawing.Point(530, 44);
            this.label140.Name = "label140";
            this.label140.Size = new System.Drawing.Size(32, 14);
            this.label140.TabIndex = 228;
            this.label140.Text = "năm ";
            this.label140.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // uiGroupBox5
            // 
            this.uiGroupBox5.Controls.Add(this.txtNDKSDLD_CS);
            this.uiGroupBox5.Controls.Add(this.txtSDKLD_CS);
            this.uiGroupBox5.Controls.Add(this.label132);
            this.uiGroupBox5.Controls.Add(this.label133);
            this.uiGroupBox5.Controls.Add(this.txtNChuyenLD_CS);
            this.uiGroupBox5.Controls.Add(this.txtCTCQLD_CS);
            this.uiGroupBox5.Controls.Add(this.label130);
            this.uiGroupBox5.Controls.Add(this.label131);
            this.uiGroupBox5.Controls.Add(this.cboTLD_CS);
            this.uiGroupBox5.Controls.Add(this.txtNCapLD_CS);
            this.uiGroupBox5.Controls.Add(this.label128);
            this.uiGroupBox5.Controls.Add(this.label129);
            this.uiGroupBox5.Controls.Add(this.txtNCLD_CS);
            this.uiGroupBox5.Controls.Add(this.txtSSLD_CS);
            this.uiGroupBox5.Controls.Add(this.label126);
            this.uiGroupBox5.Controls.Add(this.label127);
            this.uiGroupBox5.Dock = System.Windows.Forms.DockStyle.Top;
            this.uiGroupBox5.Location = new System.Drawing.Point(0, 0);
            this.uiGroupBox5.Name = "uiGroupBox5";
            this.uiGroupBox5.Size = new System.Drawing.Size(1008, 75);
            this.uiGroupBox5.TabIndex = 0;
            this.uiGroupBox5.Text = "Sổ lao động";
            // 
            // txtNDKSDLD_CS
            // 
            this.txtNDKSDLD_CS.Location = new System.Drawing.Point(847, 44);
            this.txtNDKSDLD_CS.Mask = "00/00/0000";
            this.txtNDKSDLD_CS.Name = "txtNDKSDLD_CS";
            this.txtNDKSDLD_CS.Size = new System.Drawing.Size(154, 20);
            this.txtNDKSDLD_CS.TabIndex = 226;
            this.txtNDKSDLD_CS.ValidatingType = typeof(System.DateTime);
            // 
            // txtSDKLD_CS
            // 
            this.txtSDKLD_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtSDKLD_CS.Location = new System.Drawing.Point(620, 44);
            this.txtSDKLD_CS.MaxLength = 15;
            this.txtSDKLD_CS.Name = "txtSDKLD_CS";
            this.txtSDKLD_CS.Size = new System.Drawing.Size(88, 20);
            this.txtSDKLD_CS.TabIndex = 225;
            // 
            // label132
            // 
            this.label132.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label132.ForeColor = System.Drawing.Color.DarkBlue;
            this.label132.Location = new System.Drawing.Point(710, 48);
            this.label132.Name = "label132";
            this.label132.Size = new System.Drawing.Size(136, 13);
            this.label132.TabIndex = 224;
            this.label132.Text = "Ngày ĐK sử dụng lao động";
            this.label132.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label133
            // 
            this.label133.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label133.ForeColor = System.Drawing.Color.DarkBlue;
            this.label133.Location = new System.Drawing.Point(567, 48);
            this.label133.Name = "label133";
            this.label133.Size = new System.Drawing.Size(55, 13);
            this.label133.TabIndex = 223;
            this.label133.Text = "Số ĐKLĐ ";
            this.label133.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtNChuyenLD_CS
            // 
            this.txtNChuyenLD_CS.Location = new System.Drawing.Point(468, 44);
            this.txtNChuyenLD_CS.Mask = "00/00/0000";
            this.txtNChuyenLD_CS.Name = "txtNChuyenLD_CS";
            this.txtNChuyenLD_CS.Size = new System.Drawing.Size(95, 20);
            this.txtNChuyenLD_CS.TabIndex = 222;
            this.txtNChuyenLD_CS.ValidatingType = typeof(System.DateTime);
            // 
            // txtCTCQLD_CS
            // 
            this.txtCTCQLD_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtCTCQLD_CS.Location = new System.Drawing.Point(125, 44);
            this.txtCTCQLD_CS.MaxLength = 50;
            this.txtCTCQLD_CS.Name = "txtCTCQLD_CS";
            this.txtCTCQLD_CS.Size = new System.Drawing.Size(272, 20);
            this.txtCTCQLD_CS.TabIndex = 221;
            // 
            // label130
            // 
            this.label130.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label130.ForeColor = System.Drawing.Color.DarkBlue;
            this.label130.Location = new System.Drawing.Point(396, 48);
            this.label130.Name = "label130";
            this.label130.Size = new System.Drawing.Size(73, 13);
            this.label130.TabIndex = 220;
            this.label130.Text = "Ngày chuyển ";
            this.label130.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label131
            // 
            this.label131.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label131.ForeColor = System.Drawing.Color.DarkBlue;
            this.label131.Location = new System.Drawing.Point(22, 48);
            this.label131.Name = "label131";
            this.label131.Size = new System.Drawing.Size(101, 13);
            this.label131.TabIndex = 219;
            this.label131.Text = "Chuyển từ Cơ quan ";
            this.label131.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cboTLD_CS
            // 
            this.cboTLD_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboTLD_CS.Location = new System.Drawing.Point(847, 19);
            this.cboTLD_CS.Name = "cboTLD_CS";
            this.cboTLD_CS.Size = new System.Drawing.Size(154, 21);
            this.cboTLD_CS.TabIndex = 218;
            // 
            // txtNCapLD_CS
            // 
            this.txtNCapLD_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtNCapLD_CS.Location = new System.Drawing.Point(468, 19);
            this.txtNCapLD_CS.MaxLength = 50;
            this.txtNCapLD_CS.Name = "txtNCapLD_CS";
            this.txtNCapLD_CS.Size = new System.Drawing.Size(338, 20);
            this.txtNCapLD_CS.TabIndex = 217;
            // 
            // label128
            // 
            this.label128.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label128.ForeColor = System.Drawing.Color.DarkBlue;
            this.label128.Location = new System.Drawing.Point(814, 21);
            this.label128.Name = "label128";
            this.label128.Size = new System.Drawing.Size(31, 13);
            this.label128.TabIndex = 216;
            this.label128.Text = "Tỉnh ";
            this.label128.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label129
            // 
            this.label129.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label129.ForeColor = System.Drawing.Color.DarkBlue;
            this.label129.Location = new System.Drawing.Point(419, 21);
            this.label129.Name = "label129";
            this.label129.Size = new System.Drawing.Size(47, 13);
            this.label129.TabIndex = 215;
            this.label129.Text = "Nơi cấp ";
            this.label129.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtNCLD_CS
            // 
            this.txtNCLD_CS.Location = new System.Drawing.Point(302, 19);
            this.txtNCLD_CS.Mask = "00/00/0000";
            this.txtNCLD_CS.Name = "txtNCLD_CS";
            this.txtNCLD_CS.Size = new System.Drawing.Size(95, 20);
            this.txtNCLD_CS.TabIndex = 214;
            this.txtNCLD_CS.ValidatingType = typeof(System.DateTime);
            // 
            // txtSSLD_CS
            // 
            this.txtSSLD_CS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtSSLD_CS.ForeColor = System.Drawing.Color.Red;
            this.txtSSLD_CS.Location = new System.Drawing.Point(125, 19);
            this.txtSSLD_CS.MaxLength = 15;
            this.txtSSLD_CS.Name = "txtSSLD_CS";
            this.txtSSLD_CS.Size = new System.Drawing.Size(112, 20);
            this.txtSSLD_CS.TabIndex = 213;
            // 
            // label126
            // 
            this.label126.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label126.ForeColor = System.Drawing.Color.DarkBlue;
            this.label126.Location = new System.Drawing.Point(87, 21);
            this.label126.Name = "label126";
            this.label126.Size = new System.Drawing.Size(37, 13);
            this.label126.TabIndex = 211;
            this.label126.Text = "Số sổ ";
            this.label126.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label127
            // 
            this.label127.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label127.ForeColor = System.Drawing.Color.DarkBlue;
            this.label127.Location = new System.Drawing.Point(245, 21);
            this.label127.Name = "label127";
            this.label127.Size = new System.Drawing.Size(56, 13);
            this.label127.TabIndex = 212;
            this.label127.Text = "Ngày cấp ";
            this.label127.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // uiTabPage7
            // 
            this.uiTabPage7.Controls.Add(this.uiGroupBox8);
            this.uiTabPage7.Controls.Add(this.panel11);
            this.uiTabPage7.Location = new System.Drawing.Point(1, 21);
            this.uiTabPage7.Name = "uiTabPage7";
            this.uiTabPage7.Size = new System.Drawing.Size(1008, 302);
            this.uiTabPage7.TabStop = true;
            this.uiTabPage7.Text = "Sức khỏe";
            // 
            // uiGroupBox8
            // 
            this.uiGroupBox8.Controls.Add(this.dataGridView3);
            this.uiGroupBox8.Dock = System.Windows.Forms.DockStyle.Fill;
            this.uiGroupBox8.Location = new System.Drawing.Point(397, 0);
            this.uiGroupBox8.Name = "uiGroupBox8";
            this.uiGroupBox8.Size = new System.Drawing.Size(611, 302);
            this.uiGroupBox8.TabIndex = 1;
            // 
            // dataGridView3
            // 
            this.dataGridView3.BackgroundColor = System.Drawing.Color.White;
            dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
            dataGridViewCellStyle32.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle32.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle32.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle32.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle32.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle32.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dataGridView3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle32;
            this.dataGridView3.ColumnHeadersHeight = 25;
            this.dataGridView3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.dataGridViewTextBoxColumn11,
            this.dataGridViewTextBoxColumn12,
            this.dataGridViewTextBoxColumn13,
            this.dataGridViewTextBoxColumn14,
            this.dataGridViewTextBoxColumn15,
            this.dataGridViewTextBoxColumn16,
            this.dataGridViewTextBoxColumn17});
            this.dataGridView3.Dock = System.Windows.Forms.DockStyle.Top;
            this.dataGridView3.Location = new System.Drawing.Point(3, 8);
            this.dataGridView3.Name = "dataGridView3";
            this.dataGridView3.RowHeadersVisible = false;
            this.dataGridView3.RowHeadersWidth = 25;
            this.dataGridView3.Size = new System.Drawing.Size(605, 371);
            this.dataGridView3.TabIndex = 122;
            // 
            // dataGridViewTextBoxColumn11
            // 
            this.dataGridViewTextBoxColumn11.DataPropertyName = "benhly";
            this.dataGridViewTextBoxColumn11.HeaderText = "Tình hình sức khoẻ";
            this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
            this.dataGridViewTextBoxColumn11.Width = 220;
            // 
            // dataGridViewTextBoxColumn12
            // 
            this.dataGridViewTextBoxColumn12.DataPropertyName = "loai";
            this.dataGridViewTextBoxColumn12.HeaderText = "Loại";
            this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
            this.dataGridViewTextBoxColumn12.Width = 80;
            // 
            // dataGridViewTextBoxColumn13
            // 
            this.dataGridViewTextBoxColumn13.DataPropertyName = "tg_dau";
            this.dataGridViewTextBoxColumn13.HeaderText = "Từ ngày";
            this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
            // 
            // dataGridViewTextBoxColumn14
            // 
            this.dataGridViewTextBoxColumn14.DataPropertyName = "tg_cuoi";
            this.dataGridViewTextBoxColumn14.HeaderText = "Đến ngày";
            this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
            // 
            // dataGridViewTextBoxColumn15
            // 
            this.dataGridViewTextBoxColumn15.DataPropertyName = "ghichu";
            this.dataGridViewTextBoxColumn15.HeaderText = "Ghi chú";
            this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
            this.dataGridViewTextBoxColumn15.Width = 280;
            // 
            // dataGridViewTextBoxColumn16
            // 
            this.dataGridViewTextBoxColumn16.DataPropertyName = "id";
            this.dataGridViewTextBoxColumn16.HeaderText = "id";
            this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
            this.dataGridViewTextBoxColumn16.Visible = false;
            // 
            // dataGridViewTextBoxColumn17
            // 
            this.dataGridViewTextBoxColumn17.DataPropertyName = "manv";
            this.dataGridViewTextBoxColumn17.HeaderText = "manv";
            this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
            this.dataGridViewTextBoxColumn17.Visible = false;
            // 
            // panel11
            // 
            this.panel11.Controls.Add(this.uiButton21);
            this.panel11.Controls.Add(this.uiButton22);
            this.panel11.Controls.Add(this.uiButton23);
            this.panel11.Controls.Add(this.uiButton24);
            this.panel11.Controls.Add(this.uiButton25);
            this.panel11.Controls.Add(this.cmbloai);
            this.panel11.Controls.Add(this.checkthuongtat);
            this.panel11.Controls.Add(this.txtGC_SK);
            this.panel11.Controls.Add(this.label151);
            this.panel11.Controls.Add(this.label152);
            this.panel11.Controls.Add(this.label181);
            this.panel11.Controls.Add(this.txtDN_SK);
            this.panel11.Controls.Add(this.label182);
            this.panel11.Controls.Add(this.txtTN_SK);
            this.panel11.Controls.Add(this.txtTHSK_SK);
            this.panel11.Controls.Add(this.txtL_SK);
            this.panel11.Controls.Add(this.label183);
            this.panel11.Controls.Add(this.label184);
            this.panel11.Controls.Add(this.label185);
            this.panel11.Controls.Add(this.txtNhanDang);
            this.panel11.Controls.Add(this.label150);
            this.panel11.Dock = System.Windows.Forms.DockStyle.Left;
            this.panel11.Location = new System.Drawing.Point(0, 0);
            this.panel11.Name = "panel11";
            this.panel11.Size = new System.Drawing.Size(397, 302);
            this.panel11.TabIndex = 0;
            // 
            // uiButton21
            // 
            this.uiButton21.Location = new System.Drawing.Point(315, 271);
            this.uiButton21.Name = "uiButton21";
            this.uiButton21.Size = new System.Drawing.Size(75, 23);
            this.uiButton21.TabIndex = 317;
            this.uiButton21.Text = "Bỏ qua";
            this.uiButton21.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton22
            // 
            this.uiButton22.Location = new System.Drawing.Point(238, 271);
            this.uiButton22.Name = "uiButton22";
            this.uiButton22.Size = new System.Drawing.Size(75, 23);
            this.uiButton22.TabIndex = 316;
            this.uiButton22.Text = "Xóa";
            this.uiButton22.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton23
            // 
            this.uiButton23.Location = new System.Drawing.Point(161, 271);
            this.uiButton23.Name = "uiButton23";
            this.uiButton23.Size = new System.Drawing.Size(75, 23);
            this.uiButton23.TabIndex = 315;
            this.uiButton23.Text = "Sửa";
            this.uiButton23.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton24
            // 
            this.uiButton24.Location = new System.Drawing.Point(84, 271);
            this.uiButton24.Name = "uiButton24";
            this.uiButton24.Size = new System.Drawing.Size(75, 23);
            this.uiButton24.TabIndex = 314;
            this.uiButton24.Text = "lưu";
            this.uiButton24.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // uiButton25
            // 
            this.uiButton25.Location = new System.Drawing.Point(7, 271);
            this.uiButton25.Name = "uiButton25";
            this.uiButton25.Size = new System.Drawing.Size(75, 23);
            this.uiButton25.TabIndex = 313;
            this.uiButton25.Text = "Thêm";
            this.uiButton25.VisualStyle = Janus.Windows.UI.VisualStyle.Office2007;
            // 
            // cmbloai
            // 
            this.cmbloai.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbloai.Enabled = false;
            this.cmbloai.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmbloai.FormattingEnabled = true;
            this.cmbloai.Items.AddRange(new object[] {
            "Hạng 1",
            "Hạng 2",
            "Hạng 3",
            "Hạng 4"});
            this.cmbloai.Location = new System.Drawing.Point(264, 128);
            this.cmbloai.Name = "cmbloai";
            this.cmbloai.Size = new System.Drawing.Size(117, 23);
            this.cmbloai.TabIndex = 124;
            // 
            // checkthuongtat
            // 
            this.checkthuongtat.AutoSize = true;
            this.checkthuongtat.Location = new System.Drawing.Point(128, 128);
            this.checkthuongtat.Name = "checkthuongtat";
            this.checkthuongtat.Size = new System.Drawing.Size(15, 14);
            this.checkthuongtat.TabIndex = 123;
            this.checkthuongtat.UseVisualStyleBackColor = true;
            // 
            // txtGC_SK
            // 
            this.txtGC_SK.BackColor = System.Drawing.Color.White;
            this.txtGC_SK.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtGC_SK.ForeColor = System.Drawing.Color.DarkBlue;
            this.txtGC_SK.Location = new System.Drawing.Point(104, 156);
            this.txtGC_SK.MaxLength = 50;
            this.txtGC_SK.Name = "txtGC_SK";
            this.txtGC_SK.Size = new System.Drawing.Size(277, 20);
            this.txtGC_SK.TabIndex = 125;
            // 
            // label151
            // 
            this.label151.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label151.ForeColor = System.Drawing.Color.DarkBlue;
            this.label151.Location = new System.Drawing.Point(231, 129);
            this.label151.Name = "label151";
            this.label151.Size = new System.Drawing.Size(27, 13);
            this.label151.TabIndex = 127;
            this.label151.Text = "Loại";
            this.label151.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label152
            // 
            this.label152.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label152.ForeColor = System.Drawing.Color.DarkBlue;
            this.label152.Location = new System.Drawing.Point(46, 129);
            this.label152.Name = "label152";
            this.label152.Size = new System.Drawing.Size(59, 13);
            this.label152.TabIndex = 129;
            this.label152.Text = "Thương tật";
            this.label152.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label181
            // 
            this.label181.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label181.ForeColor = System.Drawing.Color.DarkBlue;
            this.label181.Location = new System.Drawing.Point(54, 159);
            this.label181.Name = "label181";
            this.label181.Size = new System.Drawing.Size(47, 13);
            this.label181.TabIndex = 128;
            this.label181.Text = "Ghi chú ";
            this.label181.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtDN_SK
            // 
            this.txtDN_SK.BackColor = System.Drawing.Color.White;
            this.txtDN_SK.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtDN_SK.ForeColor = System.Drawing.Color.Navy;
            this.txtDN_SK.Location = new System.Drawing.Point(264, 101);
            this.txtDN_SK.Mask = "00/00/0000";
            this.txtDN_SK.Name = "txtDN_SK";
            this.txtDN_SK.Size = new System.Drawing.Size(117, 21);
            this.txtDN_SK.TabIndex = 120;
            this.txtDN_SK.ValidatingType = typeof(System.DateTime);
            // 
            // label182
            // 
            this.label182.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label182.ForeColor = System.Drawing.Color.DarkBlue;
            this.label182.Location = new System.Drawing.Point(206, 106);
            this.label182.Name = "label182";
            this.label182.Size = new System.Drawing.Size(56, 13);
            this.label182.TabIndex = 121;
            this.label182.Text = "Đến ngày ";
            this.label182.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtTN_SK
            // 
            this.txtTN_SK.BackColor = System.Drawing.Color.White;
            this.txtTN_SK.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTN_SK.ForeColor = System.Drawing.Color.Navy;
            this.txtTN_SK.Location = new System.Drawing.Point(104, 101);
            this.txtTN_SK.Mask = "00/00/0000";
            this.txtTN_SK.Name = "txtTN_SK";
            this.txtTN_SK.Size = new System.Drawing.Size(92, 21);
            this.txtTN_SK.TabIndex = 116;
            this.txtTN_SK.ValidatingType = typeof(System.DateTime);
            // 
            // txtTHSK_SK
            // 
            this.txtTHSK_SK.BackColor = System.Drawing.Color.White;
            this.txtTHSK_SK.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTHSK_SK.ForeColor = System.Drawing.Color.DarkBlue;
            this.txtTHSK_SK.Location = new System.Drawing.Point(104, 49);
            this.txtTHSK_SK.MaxLength = 30;
            this.txtTHSK_SK.Name = "txtTHSK_SK";
            this.txtTHSK_SK.Size = new System.Drawing.Size(277, 20);
            this.txtTHSK_SK.TabIndex = 114;
            // 
            // txtL_SK
            // 
            this.txtL_SK.BackColor = System.Drawing.Color.White;
            this.txtL_SK.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtL_SK.ForeColor = System.Drawing.Color.DarkBlue;
            this.txtL_SK.Location = new System.Drawing.Point(104, 75);
            this.txtL_SK.MaxLength = 4;
            this.txtL_SK.Name = "txtL_SK";
            this.txtL_SK.Size = new System.Drawing.Size(277, 20);
            this.txtL_SK.TabIndex = 115;
            // 
            // label183
            // 
            this.label183.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label183.ForeColor = System.Drawing.Color.DarkBlue;
            this.label183.Location = new System.Drawing.Point(54, 106);
            this.label183.Name = "label183";
            this.label183.Size = new System.Drawing.Size(49, 13);
            this.label183.TabIndex = 119;
            this.label183.Text = "Từ ngày ";
            this.label183.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label184
            // 
            this.label184.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label184.ForeColor = System.Drawing.Color.DarkBlue;
            this.label184.Location = new System.Drawing.Point(72, 72);
            this.label184.Name = "label184";
            this.label184.Size = new System.Drawing.Size(30, 26);
            this.label184.TabIndex = 118;
            this.label184.Text = "Loại ";
            this.label184.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label185
            // 
            this.label185.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label185.ForeColor = System.Drawing.Color.DarkBlue;
            this.label185.Location = new System.Drawing.Point(5, 49);
            this.label185.Name = "label185";
            this.label185.Size = new System.Drawing.Size(98, 27);
            this.label185.TabIndex = 117;
            this.label185.Text = "Tình hình sức khoẻ";
            this.label185.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtNhanDang
            // 
            this.txtNhanDang.BackColor = System.Drawing.Color.White;
            this.txtNhanDang.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtNhanDang.Location = new System.Drawing.Point(104, 23);
            this.txtNhanDang.MaxLength = 70;
            this.txtNhanDang.Name = "txtNhanDang";
            this.txtNhanDang.Size = new System.Drawing.Size(277, 20);
            this.txtNhanDang.TabIndex = 112;
            // 
            // label150
            // 
            this.label150.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label150.ForeColor = System.Drawing.Color.DarkBlue;
            this.label150.Location = new System.Drawing.Point(31, 23);
            this.label150.Name = "label150";
            this.label150.Size = new System.Drawing.Size(72, 24);
            this.label150.TabIndex = 113;
            this.label150.Text = "Nhân dạng ";
            this.label150.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // panel3
            // 
            this.panel3.Controls.Add(this.cboChucVu);
            this.panel3.Controls.Add(this.cboNgoaiNgu1);
            this.panel3.Controls.Add(this.cboQuanOHN);
            this.panel3.Controls.Add(this.cboQuanThuongTru);
            this.panel3.Controls.Add(this.cboNguyenQuan);
            this.panel3.Controls.Add(this.groupBox5);
            this.panel3.Controls.Add(this.cboTinhThuongTru);
            this.panel3.Controls.Add(this.label37);
            this.panel3.Controls.Add(this.label19);
            this.panel3.Controls.Add(this.txt_macc);
            this.panel3.Controls.Add(this.txtNganhang);
            this.panel3.Controls.Add(this.txtMaBP);
            this.panel3.Controls.Add(this.label39);
            this.panel3.Controls.Add(this.cboDanToc);
            this.panel3.Controls.Add(this.label43);
            this.panel3.Controls.Add(this.txtSoCMND);
            this.panel3.Controls.Add(this.txt_masothue);
            this.panel3.Controls.Add(this.label8);
            this.panel3.Controls.Add(this.txtSotk);
            this.panel3.Controls.Add(this.label16);
            this.panel3.Controls.Add(this.cboChuyenMon);
            this.panel3.Controls.Add(this.label44);
            this.panel3.Controls.Add(this.txtTGBN);
            this.panel3.Controls.Add(this.label7);
            this.panel3.Controls.Add(this.label40);
            this.panel3.Controls.Add(this.cboBoPhan);
            this.panel3.Controls.Add(this.lbl_macc);
            this.panel3.Controls.Add(this.label41);
            this.panel3.Controls.Add(this.groupBox2);
            this.panel3.Controls.Add(this.txtDienThoai);
            this.panel3.Controls.Add(this.vitinh);
            this.panel3.Controls.Add(this.label35);
            this.panel3.Controls.Add(this.dtpNgayCapCMND);
            this.panel3.Controls.Add(this.dtpNgaySinh);
            this.panel3.Controls.Add(this.txtNguyenQuan);
            this.panel3.Controls.Add(this.txtNgayBN);
            this.panel3.Controls.Add(this.txtThuTu);
            this.panel3.Controls.Add(this.label20);
            this.panel3.Controls.Add(this.txtThuongTru);
            this.panel3.Controls.Add(this.label6);
            this.panel3.Controls.Add(this.txtNoiSinh);
            this.panel3.Controls.Add(this.txtNoiOHN);
            this.panel3.Controls.Add(this.txtMVTat);
            this.panel3.Controls.Add(this.label5);
            this.panel3.Controls.Add(this.label13);
            this.panel3.Controls.Add(this.label21);
            this.panel3.Controls.Add(this.txtChucVu);
            this.panel3.Controls.Add(this.label11);
            this.panel3.Controls.Add(this.cboHocVan);
            this.panel3.Controls.Add(this.label14);
            this.panel3.Controls.Add(this.label3);
            this.panel3.Controls.Add(this.txtTenNV);
            this.panel3.Controls.Add(this.txtHoNV);
            this.panel3.Controls.Add(this.label34);
            this.panel3.Controls.Add(this.cboTinhOHN);
            this.panel3.Controls.Add(this.label2);
            this.panel3.Controls.Add(this.txtnamsinh);
            this.panel3.Controls.Add(this.label74);
            this.panel3.Controls.Add(this.cboPhai);
            this.panel3.Controls.Add(this.txtCellphone);
            this.panel3.Controls.Add(this.cboTonGiao);
            this.panel3.Controls.Add(this.label32);
            this.panel3.Controls.Add(this.label22);
            this.panel3.Controls.Add(this.label1);
            this.panel3.Controls.Add(this.label18);
            this.panel3.Controls.Add(this.label9);
            this.panel3.Controls.Add(this.txtNoiCapCMND);
            this.panel3.Controls.Add(this.txtMaSoNV);
            this.panel3.Controls.Add(this.label12);
            this.panel3.Controls.Add(this.label15);
            this.panel3.Controls.Add(this.label17);
            this.panel3.Controls.Add(this.label29);
            this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel3.Location = new System.Drawing.Point(0, 0);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(1010, 299);
            this.panel3.TabIndex = 268;
            // 
            // cboChucVu
            // 
            this.cboChucVu.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cboChucVu.Enabled = false;
            this.cboChucVu.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboChucVu.ForeColor = System.Drawing.Color.Navy;
            this.cboChucVu.FormattingEnabled = true;
            this.cboChucVu.Location = new System.Drawing.Point(650, 6);
            this.cboChucVu.Name = "cboChucVu";
            this.cboChucVu.Size = new System.Drawing.Size(179, 22);
            this.cboChucVu.TabIndex = 268;
            // 
            // cboNgoaiNgu1
            // 
            this.cboNgoaiNgu1.Enabled = false;
            this.cboNgoaiNgu1.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboNgoaiNgu1.FormattingEnabled = true;
            this.cboNgoaiNgu1.Location = new System.Drawing.Point(609, 246);
            this.cboNgoaiNgu1.Name = "cboNgoaiNgu1";
            this.cboNgoaiNgu1.Size = new System.Drawing.Size(220, 22);
            this.cboNgoaiNgu1.TabIndex = 267;
            // 
            // cboQuanOHN
            // 
            this.cboQuanOHN.Enabled = false;
            this.cboQuanOHN.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboQuanOHN.FormattingEnabled = true;
            this.cboQuanOHN.Location = new System.Drawing.Point(568, 193);
            this.cboQuanOHN.Name = "cboQuanOHN";
            this.cboQuanOHN.Size = new System.Drawing.Size(261, 22);
            this.cboQuanOHN.TabIndex = 266;
            // 
            // cboQuanThuongTru
            // 
            this.cboQuanThuongTru.Enabled = false;
            this.cboQuanThuongTru.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboQuanThuongTru.FormattingEnabled = true;
            this.cboQuanThuongTru.Location = new System.Drawing.Point(568, 166);
            this.cboQuanThuongTru.Name = "cboQuanThuongTru";
            this.cboQuanThuongTru.Size = new System.Drawing.Size(261, 22);
            this.cboQuanThuongTru.TabIndex = 265;
            // 
            // cboNguyenQuan
            // 
            this.cboNguyenQuan.Enabled = false;
            this.cboNguyenQuan.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboNguyenQuan.FormattingEnabled = true;
            this.cboNguyenQuan.Location = new System.Drawing.Point(570, 115);
            this.cboNguyenQuan.Name = "cboNguyenQuan";
            this.cboNguyenQuan.Size = new System.Drawing.Size(259, 22);
            this.cboNguyenQuan.TabIndex = 264;
            // 
            // groupBox5
            // 
            this.groupBox5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.groupBox5.Controls.Add(this.ptb);
            this.groupBox5.Controls.Add(this.finger);
            this.groupBox5.Controls.Add(this.lblvantay);
            this.groupBox5.Location = new System.Drawing.Point(852, 167);
            this.groupBox5.Name = "groupBox5";
            this.groupBox5.Size = new System.Drawing.Size(154, 129);
            this.groupBox5.TabIndex = 262;
            this.groupBox5.TabStop = false;
            this.groupBox5.Text = "Vân tay";
            // 
            // ptb
            // 
            this.ptb.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.ptb.BackColor = System.Drawing.SystemColors.Control;
            this.ptb.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.ptb.ErrorImage = null;
            this.ptb.Image = ((System.Drawing.Image)(resources.GetObject("ptb.Image")));
            this.ptb.InitialImage = ((System.Drawing.Image)(resources.GetObject("ptb.InitialImage")));
            this.ptb.Location = new System.Drawing.Point(46, 11);
            this.ptb.Name = "ptb";
            this.ptb.Size = new System.Drawing.Size(79, 87);
            this.ptb.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.ptb.TabIndex = 258;
            this.ptb.TabStop = false;
            // 
            // finger
            // 
            this.finger.AutoSize = true;
            this.finger.BackColor = System.Drawing.SystemColors.Control;
            this.finger.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.finger.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.finger.Location = new System.Drawing.Point(53, 97);
            this.finger.Name = "finger";
            this.finger.Size = new System.Drawing.Size(67, 13);
            this.finger.TabIndex = 259;
            this.finger.Text = "Fingerprint";
            this.finger.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // lblvantay
            // 
            this.lblvantay.AutoSize = true;
            this.lblvantay.BackColor = System.Drawing.SystemColors.Control;
            this.lblvantay.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblvantay.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.lblvantay.Location = new System.Drawing.Point(17, 112);
            this.lblvantay.Name = "lblvantay";
            this.lblvantay.Size = new System.Drawing.Size(131, 13);
            this.lblvantay.TabIndex = 260;
            this.lblvantay.Text = "[F12] Lấy dấu vân tay";
            this.lblvantay.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label37
            // 
            this.label37.ForeColor = System.Drawing.Color.DarkBlue;
            this.label37.Location = new System.Drawing.Point(231, 250);
            this.label37.Name = "label37";
            this.label37.Size = new System.Drawing.Size(41, 13);
            this.label37.TabIndex = 221;
            this.label37.Text = "Vi tính:";
            this.label37.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label19
            // 
            this.label19.ForeColor = System.Drawing.Color.Navy;
            this.label19.Location = new System.Drawing.Point(535, 251);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(74, 13);
            this.label19.TabIndex = 71;
            this.label19.Text = "Ngoại ngữ :";
            this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_macc
            // 
            this.txt_macc.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txt_macc.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txt_macc.Enabled = false;
            this.txt_macc.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_macc.Location = new System.Drawing.Point(566, 31);
            this.txt_macc.MaxLength = 50;
            this.txt_macc.Name = "txt_macc";
            this.txt_macc.Size = new System.Drawing.Size(263, 22);
            this.txt_macc.TabIndex = 7;
            this.txt_macc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_macc_KeyDown);
            // 
            // txtNganhang
            // 
            this.txtNganhang.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtNganhang.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtNganhang.ForeColor = System.Drawing.SystemColors.Window;
            this.txtNganhang.FormattingEnabled = true;
            this.txtNganhang.Location = new System.Drawing.Point(546, 272);
            this.txtNganhang.Name = "txtNganhang";
            this.txtNganhang.Size = new System.Drawing.Size(283, 22);
            this.txtNganhang.TabIndex = 37;
            this.txtNganhang.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtNganhang_KeyDown);
            // 
            // label39
            // 
            this.label39.ForeColor = System.Drawing.Color.Navy;
            this.label39.Location = new System.Drawing.Point(451, 276);
            this.label39.Name = "label39";
            this.label39.Size = new System.Drawing.Size(90, 13);
            this.label39.TabIndex = 230;
            this.label39.Text = "Nơi mở tài khoản:";
            this.label39.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label43
            // 
            this.label43.ForeColor = System.Drawing.Color.Navy;
            this.label43.Location = new System.Drawing.Point(136, 60);
            this.label43.Name = "label43";
            this.label43.Size = new System.Drawing.Size(32, 24);
            this.label43.TabIndex = 261;
            this.label43.Text = "Tên:";
            this.label43.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txt_masothue
            // 
            this.txt_masothue.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.txt_masothue.Enabled = false;
            this.txt_masothue.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txt_masothue.ForeColor = System.Drawing.Color.Navy;
            this.txt_masothue.Location = new System.Drawing.Point(70, 272);
            this.txt_masothue.MaxLength = 15;
            this.txt_masothue.Name = "txt_masothue";
            this.txt_masothue.Size = new System.Drawing.Size(134, 22);
            this.txt_masothue.TabIndex = 35;
            this.txt_masothue.WordWrap = false;
            this.txt_masothue.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_masothue_KeyDown);
            this.txt_masothue.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_masothue_KeyPress);
            // 
            // label8
            // 
            this.label8.ForeColor = System.Drawing.Color.DarkBlue;
            this.label8.Location = new System.Drawing.Point(-7, 197);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(78, 13);
            this.label8.TabIndex = 60;
            this.label8.Text = "Nơi ở hiện nay:";
            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label16
            // 
            this.label16.ForeColor = System.Drawing.Color.Navy;
            this.label16.Location = new System.Drawing.Point(561, 224);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(47, 13);
            this.label16.TabIndex = 65;
            this.label16.Text = "Nơi cấp:";
            this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cboChuyenMon
            // 
            this.cboChuyenMon.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cboChuyenMon.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboChuyenMon.ForeColor = System.Drawing.Color.Navy;
            this.cboChuyenMon.Location = new System.Drawing.Point(71, 245);
            this.cboChuyenMon.Name = "cboChuyenMon";
            this.cboChuyenMon.Size = new System.Drawing.Size(133, 22);
            this.cboChuyenMon.TabIndex = 31;
            this.cboChuyenMon.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cboChuyenMon_KeyDown);
            // 
            // label44
            // 
            this.label44.ForeColor = System.Drawing.Color.Navy;
            this.label44.Location = new System.Drawing.Point(8, 276);
            this.label44.Name = "label44";
            this.label44.Size = new System.Drawing.Size(63, 13);
            this.label44.TabIndex = 229;
            this.label44.Text = "Mã số thuế:";
            this.label44.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label7
            // 
            this.label7.ForeColor = System.Drawing.Color.DarkBlue;
            this.label7.Location = new System.Drawing.Point(9, 170);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(62, 13);
            this.label7.TabIndex = 59;
            this.label7.Text = "Thường trú:";
            this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label40
            // 
            this.label40.ForeColor = System.Drawing.Color.Navy;
            this.label40.Location = new System.Drawing.Point(203, 276);
            this.label40.Name = "label40";
            this.label40.Size = new System.Drawing.Size(70, 13);
            this.label40.TabIndex = 229;
            this.label40.Text = "Số tài khoản:";
            this.label40.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // lbl_macc
            // 
            this.lbl_macc.ForeColor = System.Drawing.Color.DarkBlue;
            this.lbl_macc.Location = new System.Drawing.Point(486, 36);
            this.lbl_macc.Name = "lbl_macc";
            this.lbl_macc.Size = new System.Drawing.Size(79, 13);
            this.lbl_macc.TabIndex = 227;
            this.lbl_macc.Text = "Mã công chức:";
            this.lbl_macc.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label41
            // 
            this.label41.AutoSize = true;
            this.label41.ForeColor = System.Drawing.Color.DarkBlue;
            this.label41.Location = new System.Drawing.Point(448, 36);
            this.label41.Name = "label41";
            this.label41.Size = new System.Drawing.Size(29, 13);
            this.label41.TabIndex = 227;
            this.label41.Text = "Năm";
            // 
            // groupBox2
            // 
            this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.groupBox2.BackColor = System.Drawing.Color.Honeydew;
            this.groupBox2.Controls.Add(this.picNhanVien);
            this.groupBox2.Controls.Add(this.butChonHinh);
            this.groupBox2.ForeColor = System.Drawing.Color.DarkBlue;
            this.groupBox2.Location = new System.Drawing.Point(852, 5);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(154, 153);
            this.groupBox2.TabIndex = 225;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "Hình ";
            // 
            // picNhanVien
            // 
            this.picNhanVien.BackColor = System.Drawing.Color.White;
            this.picNhanVien.Location = new System.Drawing.Point(21, 14);
            this.picNhanVien.Name = "picNhanVien";
            this.picNhanVien.Size = new System.Drawing.Size(119, 109);
            this.picNhanVien.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
            this.picNhanVien.TabIndex = 128;
            this.picNhanVien.TabStop = false;
            // 
            // vitinh
            // 
            this.vitinh.BackColor = System.Drawing.SystemColors.HighlightText;
            this.vitinh.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.vitinh.ForeColor = System.Drawing.Color.Navy;
            this.vitinh.Location = new System.Drawing.Point(270, 245);
            this.vitinh.Name = "vitinh";
            this.vitinh.Size = new System.Drawing.Size(114, 22);
            this.vitinh.TabIndex = 32;
            // 
            // label35
            // 
            this.label35.ForeColor = System.Drawing.Color.DarkBlue;
            this.label35.Location = new System.Drawing.Point(267, 35);
            this.label35.Name = "label35";
            this.label35.Size = new System.Drawing.Size(131, 14);
            this.label35.TabIndex = 47;
            this.label35.Text = "Thời gian được bổ nhiệm:";
            this.label35.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // dtpNgayCapCMND
            // 
            this.dtpNgayCapCMND.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.dtpNgayCapCMND.BackColor = System.Drawing.SystemColors.HighlightText;
            this.dtpNgayCapCMND.Enabled = false;
            this.dtpNgayCapCMND.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dtpNgayCapCMND.ForeColor = System.Drawing.Color.Navy;
            this.dtpNgayCapCMND.Location = new System.Drawing.Point(754, 219);
            this.dtpNgayCapCMND.Mask = "00/00/0000";
            this.dtpNgayCapCMND.Name = "dtpNgayCapCMND";
            this.dtpNgayCapCMND.Size = new System.Drawing.Size(75, 23);
            this.dtpNgayCapCMND.TabIndex = 30;
            this.dtpNgayCapCMND.ValidatingType = typeof(System.DateTime);
            this.dtpNgayCapCMND.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dtpNgayCapCMND_KeyDown);
            this.dtpNgayCapCMND.Validated += new System.EventHandler(this.dtpNgayCapCMND_Validated);
            // 
            // dtpNgaySinh
            // 
            this.dtpNgaySinh.BackColor = System.Drawing.SystemColors.HighlightText;
            this.dtpNgaySinh.Enabled = false;
            this.dtpNgaySinh.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dtpNgaySinh.ForeColor = System.Drawing.Color.Navy;
            this.dtpNgaySinh.Location = new System.Drawing.Point(566, 86);
            this.dtpNgaySinh.Mask = "00/00/0000";
            this.dtpNgaySinh.Name = "dtpNgaySinh";
            this.dtpNgaySinh.Size = new System.Drawing.Size(110, 23);
            this.dtpNgaySinh.TabIndex = 15;
            this.dtpNgaySinh.ValidatingType = typeof(System.DateTime);
            this.dtpNgaySinh.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dtpNgaySinh_KeyDown);
            this.dtpNgaySinh.Validated += new System.EventHandler(this.dtpNgaySinh_Validated);
            // 
            // txtNgayBN
            // 
            this.txtNgayBN.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtNgayBN.Enabled = false;
            this.txtNgayBN.Font = new System.Drawing.Font("Tahoma", 9F);
            this.txtNgayBN.ForeColor = System.Drawing.Color.Navy;
            this.txtNgayBN.Location = new System.Drawing.Point(170, 31);
            this.txtNgayBN.Mask = "00/00/0000";
            this.txtNgayBN.Name = "txtNgayBN";
            this.txtNgayBN.Size = new System.Drawing.Size(83, 22);
            this.txtNgayBN.TabIndex = 5;
            this.txtNgayBN.ValidatingType = typeof(System.DateTime);
            this.txtNgayBN.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtNgayBN_KeyDown);
            this.txtNgayBN.Validated += new System.EventHandler(this.txtNgayBN_Validated);
            // 
            // txtThuTu
            // 
            this.txtThuTu.BackColor = System.Drawing.SystemColors.HighlightText;
            this.txtThuTu.Enabled = false;
            this.txtThuTu.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtThuTu.ForeColor = System.Drawing.Color.Navy;
            this.txtThuTu.Location = new System.Drawing.Point(170, 87);
            this.txtThuTu.MaxLength = 5;
            this.txtThuTu.Name = "txtThuTu";
            this.txtThuTu.Size = new System.Drawing.Size(83, 22);
            this.txtThuTu.TabIndex = 12;
            this.txtThuTu.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtThuTu.WordWrap = false;
            this.txtThuTu.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtThuTu_KeyDown);
            this.txtThuTu.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtThuTu_KeyPress);
            // 
            // label20
            // 
            this.label20.ForeColor = System.Drawing.Color.Navy;
            this.label20.Location = new System.Drawing.Point(377, 93);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(52, 13);
            this.label20.TabIndex = 54;
            this.label20.Text = "Tôn giáo:";
            this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label6
            // 
            this.label6.ForeColor = System.Drawing.Color.DarkBlue;
            this.label6.Location = new System.Drawing.Point(-2, 118);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(74, 13);
            this.label6.TabIndex = 57;
            this.label6.Text = "Nguyên quán:";
            this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label5
            // 
            this.label5.ForeColor = System.Drawing.Color.DarkBlue;
            this.label5.Location = new System.Drawing.Point(253, 92);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(48, 13);
            this.label5.TabIndex = 53;
            this.label5.Text = "Dân tộc:";
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label13
            // 
            this.label13.ForeColor = System.Drawing.Color.Navy;
            this.label13.Location = new System.Drawing.Point(-7, 86);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(41, 24);
            this.label13.TabIndex = 51;
            this.label13.Text = "Phái:";
            this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label21
            // 
            this.label21.ForeColor = System.Drawing.Color.Navy;
            this.label21.Location = new System.Drawing.Point(509, 93);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(57, 13);
            this.label21.TabIndex = 55;
            this.label21.Text = "Ngày sinh:";
            this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label11
            // 
            this.label11.ForeColor = System.Drawing.Color.DarkBlue;
            this.label11.Location = new System.Drawing.Point(1, 250);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(69, 13);
            this.label11.TabIndex = 69;
            this.label11.Text = "Chuyên môn:";
            this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cboHocVan
            // 
            this.cboHocVan.BackColor = System.Drawing.SystemColors.HighlightText;
            this.cboHocVan.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboHocVan.ForeColor = System.Drawing.Color.Navy;
            this.cboHocVan.Location = new System.Drawing.Point(444, 245);
            this.cboHocVan.Name = "cboHocVan";
            this.cboHocVan.Size = new System.Drawing.Size(101, 22);
            this.cboHocVan.TabIndex = 33;
            this.cboHocVan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cboHocVan_KeyDown);
            // 
            // label14
            // 
            this.label14.ForeColor = System.Drawing.Color.Navy;
            this.label14.Location = new System.Drawing.Point(121, 85);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(47, 24);
            this.label14.TabIndex = 52;
            this.label14.Text = "Thứ tự:";
            this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label3
            // 
            this.label3.ForeColor = System.Drawing.Color.DarkBlue;
            this.label3.Location = new System.Drawing.Point(-16, 60);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(49, 24);
            this.label3.TabIndex = 48;
            this.label3.Text = "Họ :";
            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label34
            // 
            this.label34.ForeColor = System.Drawing.Color.DarkBlue;
            this.label34.Location = new System.Drawing.Point(57, 36);
            this.label34.Name = "label34";
            this.label34.Size = new System.Drawing.Size(111, 13);
            this.label34.TabIndex = 46;
            this.label34.Text = "Ngày được bổ nhiệm:";
            this.label34.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label2
            // 
            this.label2.ForeColor = System.Drawing.Color.DarkBlue;
            this.label2.Location = new System.Drawing.Point(515, 10);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(50, 13);
            this.label2.TabIndex = 45;
            this.label2.Text = "Chức vụ:";
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label74
            // 
            this.label74.ForeColor = System.Drawing.Color.Navy;
            this.label74.Location = new System.Drawing.Point(503, 66);
            this.label74.Name = "label74";
            this.label74.Size = new System.Drawing.Size(64, 13);
            this.label74.TabIndex = 49;
            this.label74.Text = "Tên viết tắt:";
            this.label74.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label32
            // 
            this.label32.ForeColor = System.Drawing.Color.Navy;
            this.label32.Location = new System.Drawing.Point(13, 224);
            this.label32.Name = "label32";
            this.label32.Size = new System.Drawing.Size(58, 13);
            this.label32.TabIndex = 61;
            this.label32.Text = "Điện thoại:";
            this.label32.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label22
            // 
            this.label22.ForeColor = System.Drawing.Color.DarkBlue;
            this.label22.Location = new System.Drawing.Point(23, 145);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(48, 13);
            this.label22.TabIndex = 58;
            this.label22.Text = "Nơi sinh:";
            this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label1
            // 
            this.label1.ForeColor = System.Drawing.Color.DarkBlue;
            this.label1.Location = new System.Drawing.Point(118, 11);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(50, 13);
            this.label1.TabIndex = 44;
            this.label1.Text = "Bộ phận:";
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label18
            // 
            this.label18.ForeColor = System.Drawing.Color.Navy;
            this.label18.Location = new System.Drawing.Point(391, 249);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(51, 13);
            this.label18.TabIndex = 70;
            this.label18.Text = "Học vấn:";
            this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label9
            // 
            this.label9.ForeColor = System.Drawing.Color.DarkBlue;
            this.label9.Location = new System.Drawing.Point(386, 224);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(58, 13);
            this.label9.TabIndex = 64;
            this.label9.Text = "Số CMND:";
            this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label15
            // 
            this.label15.ForeColor = System.Drawing.Color.Navy;
            this.label15.Location = new System.Drawing.Point(202, 224);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(70, 13);
            this.label15.TabIndex = 62;
            this.label15.Text = "ĐT di động:";
            this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label17
            // 
            this.label17.ForeColor = System.Drawing.Color.Navy;
            this.label17.Location = new System.Drawing.Point(697, 224);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(56, 13);
            this.label17.TabIndex = 66;
            this.label17.Text = "Ngày cấp:";
            this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label29
            // 
            this.label29.ForeColor = System.Drawing.Color.Navy;
            this.label29.Location = new System.Drawing.Point(682, 94);
            this.label29.Name = "label29";
            this.label29.Size = new System.Drawing.Size(54, 13);
            this.label29.TabIndex = 56;
            this.label29.Text = "Năm sinh:";
            this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.cboChucdanh);
            this.panel1.Controls.Add(this.label4);
            this.panel1.Controls.Add(this.label25);
            this.panel1.Controls.Add(this.txtBiDanh);
            this.panel1.Controls.Add(this.cboDoan);
            this.panel1.Controls.Add(this.label23);
            this.panel1.Controls.Add(this.label24);
            this.panel1.Controls.Add(this.cboCongDoan);
            this.panel1.Controls.Add(this.label31);
            this.panel1.Controls.Add(this.txtipmay);
            this.panel1.Controls.Add(this.cboDang);
            this.panel1.Controls.Add(this.cboChiBo);
            this.panel1.Controls.Add(this.label26);
            this.panel1.Controls.Add(this.ngoaingu2);
            this.panel1.Controls.Add(this.lbipmay);
            this.panel1.Controls.Add(this.label36);
            this.panel1.Controls.Add(this.label38);
            this.panel1.Controls.Add(this.cboChinhtri);
            this.panel1.Location = new System.Drawing.Point(976, 599);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(31, 21);
            this.panel1.TabIndex = 265;
            this.panel1.Visible = false;
            // 
            // label4
            // 
            this.label4.ForeColor = System.Drawing.Color.DarkBlue;
            this.label4.Location = new System.Drawing.Point(624, 60);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(62, 13);
            this.label4.TabIndex = 264;
            this.label4.Text = "Bí danh:";
            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label25
            // 
            this.label25.ForeColor = System.Drawing.Color.Navy;
            this.label25.Location = new System.Drawing.Point(213, 87);
            this.label25.Name = "label25";
            this.label25.Size = new System.Drawing.Size(36, 13);
            this.label25.TabIndex = 78;
            this.label25.Text = "Đoàn:";
            this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtBiDanh
            // 
            this.txtBiDanh.Location = new System.Drawing.Point(692, 57);
            this.txtBiDanh.Name = "txtBiDanh";
            this.txtBiDanh.Size = new System.Drawing.Size(188, 20);
            this.txtBiDanh.TabIndex = 263;
            // 
            // cboDoan
            // 
            this.cboDoan.BackColor = System.Drawing.Color.White;
            this.cboDoan.Enabled = false;
            this.cboDoan.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboDoan.ForeColor = System.Drawing.Color.Navy;
            this.cboDoan.Location = new System.Drawing.Point(252, 83);
            this.cboDoan.MaxLength = 1;
            this.cboDoan.Name = "cboDoan";
            this.cboDoan.Size = new System.Drawing.Size(37, 22);
            this.cboDoan.TabIndex = 38;
            this.cboDoan.WordWrap = false;
            this.cboDoan.Validated += new System.EventHandler(this.cboDoan_Validated);
            this.cboDoan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cboDoan_KeyDown);
            this.cboDoan.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.cboDoan_KeyPress);
            // 
            // label23
            // 
            this.label23.ForeColor = System.Drawing.Color.Navy;
            this.label23.Location = new System.Drawing.Point(-56, 88);
            this.label23.Name = "label23";
            this.label23.Size = new System.Drawing.Size(36, 13);
            this.label23.TabIndex = 76;
            this.label23.Text = "Đảng:";
            this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label24
            // 
            this.label24.ForeColor = System.Drawing.Color.Navy;
            this.label24.Location = new System.Drawing.Point(22, 87);
            this.label24.Name = "label24";
            this.label24.Size = new System.Drawing.Size(40, 13);
            this.label24.TabIndex = 77;
            this.label24.Text = "Chi bộ:";
            this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cboCongDoan
            // 
            this.cboCongDoan.BackColor = System.Drawing.Color.White;
            this.cboCongDoan.Enabled = false;
            this.cboCongDoan.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboCongDoan.ForeColor = System.Drawing.Color.Navy;
            this.cboCongDoan.Location = new System.Drawing.Point(370, 83);
            this.cboCongDoan.MaxLength = 1;
            this.cboCongDoan.Name = "cboCongDoan";
            this.cboCongDoan.Size = new System.Drawing.Size(34, 22);
            this.cboCongDoan.TabIndex = 39;
            this.cboCongDoan.WordWrap = false;
            this.cboCongDoan.Validated += new System.EventHandler(this.cboCongDoan_Validated);
            this.cboCongDoan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cboCongDoan_KeyDown);
            this.cboCongDoan.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.cboCongDoan_KeyPress);
            // 
            // label31
            // 
            this.label31.ForeColor = System.Drawing.Color.DarkBlue;
            this.label31.Location = new System.Drawing.Point(628, 87);
            this.label31.Name = "label31";
            this.label31.Size = new System.Drawing.Size(62, 13);
            this.label31.TabIndex = 68;
            this.label31.Text = "Chức danh:";
            this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // txtipmay
            // 
            this.txtipmay.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.txtipmay.Enabled = false;
            this.txtipmay.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtipmay.ForeColor = System.Drawing.Color.Navy;
            this.txtipmay.Location = new System.Drawing.Point(508, 60);
            this.txtipmay.MaxLength = 15;
            this.txtipmay.Name = "txtipmay";
            this.txtipmay.Size = new System.Drawing.Size(105, 22);
            this.txtipmay.TabIndex = 43;
            this.txtipmay.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtipmay.WordWrap = false;
            this.txtipmay.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_masothue_KeyDown);
            this.txtipmay.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtipmay_KeyPress);
            // 
            // cboDang
            // 
            this.cboDang.BackColor = System.Drawing.Color.White;
            this.cboDang.Enabled = false;
            this.cboDang.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboDang.ForeColor = System.Drawing.Color.Navy;
            this.cboDang.Location = new System.Drawing.Point(-19, 83);
            this.cboDang.MaxLength = 1;
            this.cboDang.Name = "cboDang";
            this.cboDang.Size = new System.Drawing.Size(36, 22);
            this.cboDang.TabIndex = 36;
            this.cboDang.WordWrap = false;
            this.cboDang.Validated += new System.EventHandler(this.cboDang_Validated);
            this.cboDang.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cboDang_KeyDown);
            this.cboDang.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.cboDang_KeyPress);
            // 
            // cboChiBo
            // 
            this.cboChiBo.BackColor = System.Drawing.Color.White;
            this.cboChiBo.Enabled = false;
            this.cboChiBo.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboChiBo.ForeColor = System.Drawing.Color.Navy;
            this.cboChiBo.Location = new System.Drawing.Point(70, 84);
            this.cboChiBo.MaxLength = 2;
            this.cboChiBo.Name = "cboChiBo";
            this.cboChiBo.Size = new System.Drawing.Size(100, 22);
            this.cboChiBo.TabIndex = 37;
            this.cboChiBo.WordWrap = false;
            this.cboChiBo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cboChiBo_KeyDown);
            this.cboChiBo.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.cboChiBo_KeyPress);
            // 
            // label26
            // 
            this.label26.ForeColor = System.Drawing.Color.Navy;
            this.label26.Location = new System.Drawing.Point(295, 87);
            this.label26.Name = "label26";
            this.label26.Size = new System.Drawing.Size(63, 13);
            this.label26.TabIndex = 79;
            this.label26.Text = "Công đoàn:";
            this.label26.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // ngoaingu2
            // 
            this.ngoaingu2.BackColor = System.Drawing.SystemColors.HighlightText;
            this.ngoaingu2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.ngoaingu2.Enabled = false;
            this.ngoaingu2.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ngoaingu2.ForeColor = System.Drawing.Color.Navy;
            this.ngoaingu2.Location = new System.Drawing.Point(692, 28);
            this.ngoaingu2.Name = "ngoaingu2";
            this.ngoaingu2.Size = new System.Drawing.Size(188, 22);
            this.ngoaingu2.TabIndex = 218;
            // 
            // lbipmay
            // 
            this.lbipmay.ForeColor = System.Drawing.Color.Navy;
            this.lbipmay.Location = new System.Drawing.Point(459, 69);
            this.lbipmay.Name = "lbipmay";
            this.lbipmay.Size = new System.Drawing.Size(46, 13);
            this.lbipmay.TabIndex = 229;
            this.lbipmay.Text = "IP Máy :";
            this.lbipmay.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label36
            // 
            this.label36.ForeColor = System.Drawing.Color.Navy;
            this.label36.Location = new System.Drawing.Point(616, 33);
            this.label36.Name = "label36";
            this.label36.Size = new System.Drawing.Size(74, 13);
            this.label36.TabIndex = 219;
            this.label36.Text = "Ngoại ngữ  2 :";
            this.label36.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label38
            // 
            this.label38.ForeColor = System.Drawing.Color.Navy;
            this.label38.Location = new System.Drawing.Point(439, 88);
            this.label38.Name = "label38";
            this.label38.Size = new System.Drawing.Size(50, 13);
            this.label38.TabIndex = 223;
            this.label38.Text = "Chính trị:";
            this.label38.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cboChinhtri
            // 
            this.cboChinhtri.BackColor = System.Drawing.Color.White;
            this.cboChinhtri.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cboChinhtri.Enabled = false;
            this.cboChinhtri.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cboChinhtri.ForeColor = System.Drawing.Color.Navy;
            this.cboChinhtri.Location = new System.Drawing.Point(491, 84);
            this.cboChinhtri.Name = "cboChinhtri";
            this.cboChinhtri.Size = new System.Drawing.Size(131, 22);
            this.cboChinhtri.TabIndex = 224;
            // 
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.dataGrid1);
            this.tabPage2.Controls.Add(this.panel8);
            this.tabPage2.Location = new System.Drawing.Point(4, 34);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Size = new System.Drawing.Size(1010, 623);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text = "Danh sách nhân viên";
            this.tabPage2.UseVisualStyleBackColor = true;
            // 
            // dataGrid1
            // 
            this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
            this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.dataGrid1.BackColor = System.Drawing.Color.WhiteSmoke;
            this.dataGrid1.BackgroundColor = System.Drawing.Color.LightGray;
            this.dataGrid1.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.dataGrid1.CaptionBackColor = System.Drawing.Color.LightSteelBlue;
            this.dataGrid1.CaptionForeColor = System.Drawing.Color.MidnightBlue;
            this.dataGrid1.CaptionVisible = false;
            this.dataGrid1.DataMember = "";
            this.dataGrid1.FlatMode = true;
            this.dataGrid1.Font = new System.Drawing.Font("Tahoma", 8F);
            this.dataGrid1.ForeColor = System.Drawing.Color.MidnightBlue;
            this.dataGrid1.GridLineColor = System.Drawing.Color.Gainsboro;
            this.dataGrid1.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None;
            this.dataGrid1.HeaderBackColor = System.Drawing.Color.MidnightBlue;
            this.dataGrid1.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
            this.dataGrid1.HeaderForeColor = System.Drawing.Color.WhiteSmoke;
            this.dataGrid1.LinkColor = System.Drawing.Color.Teal;
            this.dataGrid1.Location = new System.Drawing.Point(0, 32);
            this.dataGrid1.Name = "dataGrid1";
            this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
            this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
            this.dataGrid1.RowHeaderWidth = 10;
            this.dataGrid1.SelectionBackColor = System.Drawing.Color.CadetBlue;
            this.dataGrid1.SelectionForeColor = System.Drawing.Color.WhiteSmoke;
            this.dataGrid1.Size = new System.Drawing.Size(1010, 591);
            this.dataGrid1.TabIndex = 0;
            this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
            // 
            // panel8
            // 
            this.panel8.Controls.Add(this.cbpBP_loc);
            this.panel8.Controls.Add(this.txtTimnhanh);
            this.panel8.Controls.Add(this.label42);
            this.panel8.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel8.Location = new System.Drawing.Point(0, 0);
            this.panel8.Name = "panel8";
            this.panel8.Size = new System.Drawing.Size(1010, 32);
            this.panel8.TabIndex = 2;
            // 
            // cbpBP_loc
            // 
            this.cbpBP_loc.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cbpBP_loc.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.cbpBP_loc.FormattingEnabled = true;
            this.cbpBP_loc.Location = new System.Drawing.Point(77, 6);
            this.cbpBP_loc.Name = "cbpBP_loc";
            this.cbpBP_loc.Size = new System.Drawing.Size(292, 24);
            this.cbpBP_loc.TabIndex = 94;
            this.cbpBP_loc.SelectedIndexChanged += new System.EventHandler(this.cbpBP_loc_SelectedIndexChanged);
            // 
            // txtTimnhanh
            // 
            this.txtTimnhanh.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.txtTimnhanh.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTimnhanh.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.txtTimnhanh.Location = new System.Drawing.Point(375, 5);
            this.txtTimnhanh.Name = "txtTimnhanh";
            this.txtTimnhanh.Size = new System.Drawing.Size(627, 22);
            this.txtTimnhanh.TabIndex = 93;
            this.txtTimnhanh.Text = "Tìm nhanh";
            this.txtTimnhanh.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.txtTimnhanh.TextChanged += new System.EventHandler(this.txtTimnhanh_TextChanged);
            this.txtTimnhanh.MouseMove += new System.Windows.Forms.MouseEventHandler(this.txtTimnhanh_MouseMove);
            this.txtTimnhanh.Leave += new System.EventHandler(this.txtTimnhanh_Leave);
            this.txtTimnhanh.Enter += new System.EventHandler(this.txtTimnhanh_Enter);
            // 
            // label42
            // 
            this.label42.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.label42.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label42.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
            this.label42.Location = new System.Drawing.Point(6, 8);
            this.label42.Name = "label42";
            this.label42.Size = new System.Drawing.Size(70, 16);
            this.label42.TabIndex = 43;
            this.label42.Text = "Xem theo :";
            this.label42.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // ilsIcons32
            // 
            this.ilsIcons32.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilsIcons32.ImageStream")));
            this.ilsIcons32.TransparentColor = System.Drawing.Color.Transparent;
            this.ilsIcons32.Images.SetKeyName(0, "");
            this.ilsIcons32.Images.SetKeyName(1, "");
            this.ilsIcons32.Images.SetKeyName(2, "");
            this.ilsIcons32.Images.SetKeyName(3, "");
            this.ilsIcons32.Images.SetKeyName(4, "");
            this.ilsIcons32.Images.SetKeyName(5, "SMS.ICO");
            this.ilsIcons32.Images.SetKeyName(6, "ManageAddress.gif");
            this.ilsIcons32.Images.SetKeyName(7, "ManageUser.gif");
            this.ilsIcons32.Images.SetKeyName(8, "education.ico");
            // 
            // panel6
            // 
            this.panel6.Controls.Add(this.butEdit);
            this.panel6.Controls.Add(this.butXem);
            this.panel6.Controls.Add(this.butTim);
            this.panel6.Controls.Add(this.butCancel);
            this.panel6.Controls.Add(this.butTruoc);
            this.panel6.Controls.Add(this.butThem);
            this.panel6.Controls.Add(this.butHuy);
            this.panel6.Controls.Add(this.txtTSo);
            this.panel6.Controls.Add(this.butTiep);
            this.panel6.Controls.Add(this.butSau);
            this.panel6.Controls.Add(this.butKetThuc);
            this.panel6.Controls.Add(this.label27);
            this.panel6.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel6.Location = new System.Drawing.Point(0, 700);
            this.panel6.Name = "panel6";
            this.panel6.Size = new System.Drawing.Size(1018, 40);
            this.panel6.TabIndex = 85;
            // 
            // toolStrip2
            // 
            this.toolStrip2.BackColor = System.Drawing.SystemColors.Control;
            this.toolStrip2.ImageScalingSize = new System.Drawing.Size(32, 32);
            this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.tmn_congtac,
            this.toolStripSeparator7,
            this.tmn_daotao,
            this.toolStripSeparator4,
            this.tmn_hopdong,
            this.toolStripSeparator8,
            this.tmn_giacanh,
            this.toolStripSeparator6,
            this.tmn_nuocngoai,
            this.toolStripSeparator1,
            this.tmn_capso,
            this.toolStripSeparator2,
            this.tmn_suckhoe,
            this.toolStripSeparator3,
            this.tmn_doanthe,
            this.toolStripSeparator5});
            this.toolStrip2.Location = new System.Drawing.Point(0, 0);
            this.toolStrip2.Name = "toolStrip2";
            this.toolStrip2.Size = new System.Drawing.Size(1018, 39);
            this.toolStrip2.TabIndex = 87;
            this.toolStrip2.Text = "toolStrip2";
            // 
            // tmn_congtac
            // 
            this.tmn_congtac.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tmn_congtac.ForeColor = System.Drawing.Color.Blue;
            this.tmn_congtac.Image = ((System.Drawing.Image)(resources.GetObject("tmn_congtac.Image")));
            this.tmn_congtac.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tmn_congtac.Name = "tmn_congtac";
            this.tmn_congtac.Size = new System.Drawing.Size(86, 36);
            this.tmn_congtac.Text = "&Công tác";
            this.tmn_congtac.Click += new System.EventHandler(this.lblCT_Click);
            // 
            // toolStripSeparator7
            // 
            this.toolStripSeparator7.ForeColor = System.Drawing.Color.Blue;
            this.toolStripSeparator7.Name = "toolStripSeparator7";
            this.toolStripSeparator7.Size = new System.Drawing.Size(6, 39);
            // 
            // tmn_daotao
            // 
            this.tmn_daotao.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tmn_daotao.ForeColor = System.Drawing.Color.Blue;
            this.tmn_daotao.Image = ((System.Drawing.Image)(resources.GetObject("tmn_daotao.Image")));
            this.tmn_daotao.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tmn_daotao.Name = "tmn_daotao";
            this.tmn_daotao.Size = new System.Drawing.Size(82, 36);
            this.tmn_daotao.Text = "&Đào tạo";
            this.tmn_daotao.ToolTipText = "Nhấn F3 để xem";
            this.tmn_daotao.Click += new System.EventHandler(this.lblDT_Click);
            // 
            // toolStripSeparator4
            // 
            this.toolStripSeparator4.ForeColor = System.Drawing.Color.Blue;
            this.toolStripSeparator4.Name = "toolStripSeparator4";
            this.toolStripSeparator4.Size = new System.Drawing.Size(6, 39);
            // 
            // tmn_hopdong
            // 
            this.tmn_hopdong.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tmn_hopdong.ForeColor = System.Drawing.Color.Blue;
            this.tmn_hopdong.Image = ((System.Drawing.Image)(resources.GetObject("tmn_hopdong.Image")));
            this.tmn_hopdong.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tmn_hopdong.Name = "tmn_hopdong";
            this.tmn_hopdong.Size = new System.Drawing.Size(89, 36);
            this.tmn_hopdong.Text = "H&ợp đồng";
            this.tmn_hopdong.ToolTipText = "Nhấn F5 để xem";
            this.tmn_hopdong.Click += new System.EventHandler(this.lblHD_Click);
            // 
            // toolStripSeparator8
            // 
            this.toolStripSeparator8.ForeColor = System.Drawing.Color.Blue;
            this.toolStripSeparator8.Name = "toolStripSeparator8";
            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 39);
            // 
            // tmn_giacanh
            // 
            this.tmn_giacanh.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tmn_giacanh.ForeColor = System.Drawing.Color.Blue;
            this.tmn_giacanh.Image = ((System.Drawing.Image)(resources.GetObject("tmn_giacanh.Image")));
            this.tmn_giacanh.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tmn_giacanh.Name = "tmn_giacanh";
            this.tmn_giacanh.Size = new System.Drawing.Size(84, 36);
            this.tmn_giacanh.Text = "Gia cảnh";
            this.tmn_giacanh.Click += new System.EventHandler(this.lblGC_Click);
            // 
            // toolStripSeparator6
            // 
            this.toolStripSeparator6.ForeColor = System.Drawing.Color.Blue;
            this.toolStripSeparator6.Name = "toolStripSeparator6";
            this.toolStripSeparator6.Size = new System.Drawing.Size(6, 39);
            // 
            // tmn_nuocngoai
            // 
            this.tmn_nuocngoai.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tmn_nuocngoai.ForeColor = System.Drawing.Color.Blue;
            this.tmn_nuocngoai.Image = ((System.Drawing.Image)(resources.GetObject("tmn_nuocngoai.Image")));
            this.tmn_nuocngoai.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tmn_nuocngoai.Name = "tmn_nuocngoai";
            this.tmn_nuocngoai.Size = new System.Drawing.Size(97, 36);
            this.tmn_nuocngoai.Text = "Nước ngoài";
            this.tmn_nuocngoai.Click += new System.EventHandler(this.lblNN_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.ForeColor = System.Drawing.Color.Blue;
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 39);
            // 
            // tmn_capso
            // 
            this.tmn_capso.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tmn_capso.ForeColor = System.Drawing.Color.Blue;
            this.tmn_capso.Image = ((System.Drawing.Image)(resources.GetObject("tmn_capso.Image")));
            this.tmn_capso.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tmn_capso.Name = "tmn_capso";
            this.tmn_capso.Size = new System.Drawing.Size(76, 36);
            this.tmn_capso.Text = "Cấp sổ";
            this.tmn_capso.Click += new System.EventHandler(this.lblCS_Click);
            // 
            // toolStripSeparator2
            // 
            this.toolStripSeparator2.ForeColor = System.Drawing.Color.Blue;
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 39);
            // 
            // tmn_suckhoe
            // 
            this.tmn_suckhoe.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tmn_suckhoe.ForeColor = System.Drawing.Color.Blue;
            this.tmn_suckhoe.Image = ((System.Drawing.Image)(resources.GetObject("tmn_suckhoe.Image")));
            this.tmn_suckhoe.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tmn_suckhoe.Name = "tmn_suckhoe";
            this.tmn_suckhoe.Size = new System.Drawing.Size(87, 36);
            this.tmn_suckhoe.Text = "Sức khỏe";
            this.tmn_suckhoe.Click += new System.EventHandler(this.lblSK_Click);
            // 
            // toolStripSeparator3
            // 
            this.toolStripSeparator3.ForeColor = System.Drawing.Color.Blue;
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 39);
            // 
            // tmn_doanthe
            // 
            this.tmn_doanthe.ForeColor = System.Drawing.Color.Blue;
            this.tmn_doanthe.Image = ((System.Drawing.Image)(resources.GetObject("tmn_doanthe.Image")));
            this.tmn_doanthe.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tmn_doanthe.Name = "tmn_doanthe";
            this.tmn_doanthe.Size = new System.Drawing.Size(91, 36);
            this.tmn_doanthe.Text = "Đoàn thể";
            this.tmn_doanthe.Click += new System.EventHandler(this.lblDThe_Click_1);
            // 
            // toolStripSeparator5
            // 
            this.toolStripSeparator5.Name = "toolStripSeparator5";
            this.toolStripSeparator5.Size = new System.Drawing.Size(6, 39);
            // 
            // printPreviewDialog1
            // 
            this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
            this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
            this.printPreviewDialog1.Enabled = true;
            this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
            this.printPreviewDialog1.Name = "printPreviewDialog1";
            this.printPreviewDialog1.Visible = false;
            // 
            // pBarcode
            // 
            this.pBarcode.Location = new System.Drawing.Point(451, 474);
            this.pBarcode.Name = "pBarcode";
            this.pBarcode.Size = new System.Drawing.Size(100, 50);
            this.pBarcode.TabIndex = 82;
            this.pBarcode.TabStop = false;
            // 
            // label101
            // 
            this.label101.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label101.ForeColor = System.Drawing.Color.DarkBlue;
            this.label101.Location = new System.Drawing.Point(883, 70);
            this.label101.Name = "label101";
            this.label101.Size = new System.Drawing.Size(36, 13);
            this.label101.TabIndex = 298;
            this.label101.Text = "Lần :";
            this.label101.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.toolTip1.SetToolTip(this.label101, resources.GetString("label101.ToolTip"));
            // 
            // txtLan_hd
            // 
            this.txtLan_hd.Enabled = false;
            this.txtLan_hd.Location = new System.Drawing.Point(925, 66);
            this.txtLan_hd.Name = "txtLan_hd";
            this.txtLan_hd.Size = new System.Drawing.Size(33, 22);
            this.txtLan_hd.TabIndex = 299;
            // 
            // frmLyLichNV
            // 
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
            this.ClientSize = new System.Drawing.Size(1018, 740);
            this.Controls.Add(this.tabllnv);
            this.Controls.Add(this.panel6);
            this.Controls.Add(this.label30);
            this.Controls.Add(this.label28);
            this.Controls.Add(this.label33);
            this.Controls.Add(this.cboNgoaingu3);
            this.Controls.Add(this.cboNgoaingu2);
            this.Controls.Add(this.cboNgoaingu4);
            this.Controls.Add(this.pBarcode);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.toolStrip2);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.KeyPreview = true;
            this.Name = "frmLyLichNV";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = " ";
            this.Load += new System.EventHandler(this.frmLyLichNV_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.frmLyLichNV_KeyDown);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgrThanhVienGD_ct)).EndInit();
            this.tabllnv.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.uiTab1)).EndInit();
            this.uiTab1.ResumeLayout(false);
            this.uiTabPage3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox2)).EndInit();
            this.uiGroupBox2.ResumeLayout(false);
            this.uiGroupBox2.PerformLayout();
            this.groupBox6.ResumeLayout(false);
            this.groupBox6.PerformLayout();
            this.p_hdbantg.ResumeLayout(false);
            this.p_hdbantg.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.num_sothangtbnh_hd)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.num_sothanghd_hd)).EndInit();
            this.p_thuviec.ResumeLayout(false);
            this.p_thuviec.PerformLayout();
            this.uiTabPage1.ResumeLayout(false);
            this.groupBox3.ResumeLayout(false);
            this.panel4.ResumeLayout(false);
            this.panel4.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            this.groupBox4.PerformLayout();
            this.uiTabPage2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox1)).EndInit();
            this.uiGroupBox1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dgrDaoTao)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgrQTDTCoQuan)).EndInit();
            this.panel5.ResumeLayout(false);
            this.panel5.PerformLayout();
            this.groupDT.ResumeLayout(false);
            this.groupDT.PerformLayout();
            this.groupDTCQ.ResumeLayout(false);
            this.groupDTCQ.PerformLayout();
            this.uiTabPage4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox3)).EndInit();
            this.uiGroupBox3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
            this.panel7.ResumeLayout(false);
            this.panel7.PerformLayout();
            this.uiTabPage5.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox4)).EndInit();
            this.uiGroupBox4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
            this.panel9.ResumeLayout(false);
            this.panel9.PerformLayout();
            this.uiTabPage6.ResumeLayout(false);
            this.panel10.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox7)).EndInit();
            this.uiGroupBox7.ResumeLayout(false);
            this.uiGroupBox7.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox6)).EndInit();
            this.uiGroupBox6.ResumeLayout(false);
            this.uiGroupBox6.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox5)).EndInit();
            this.uiGroupBox5.ResumeLayout(false);
            this.uiGroupBox5.PerformLayout();
            this.uiTabPage7.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.uiGroupBox8)).EndInit();
            this.uiGroupBox8.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).EndInit();
            this.panel11.ResumeLayout(false);
            this.panel11.PerformLayout();
            this.panel3.ResumeLayout(false);
            this.panel3.PerformLayout();
            this.groupBox5.ResumeLayout(false);
            this.groupBox5.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ptb)).EndInit();
            this.groupBox2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.picNhanVien)).EndInit();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.tabPage2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
            this.panel8.ResumeLayout(false);
            this.panel8.PerformLayout();
            this.panel6.ResumeLayout(false);
            this.panel6.PerformLayout();
            this.toolStrip2.ResumeLayout(false);
            this.toolStrip2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pBarcode)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

		}
		#endregion

		private void txtMaSoNV_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{	
			try
			{
				if (e.KeyCode == Keys.Enter)
				{ 
					if (txtMaSoNV.Text.Length < 5)
					{
						txtMaSoNV.Text = txtMaSoNV.Text.PadLeft(5,'0');
					}			
				}
			}
			catch{}
		}
        private void loadHinhVanTay(string manv)
        {
            if (fnhandang == null)
                fnhandang = new FrmNhanDang(ptb);
            ptb.Image = fnhandang.getImageFromMabn(manv);
            if (ptb.Image == null) ma_vantay = manv;
        }
		 void load_LLNV()
		{
			try
			{
				ds=mDB.LyLichNV(txtMaSoNV.Text);
				DataSet dshd=new DataSet();
				dshd=mDB.LyLichNVhd(txtMaSoNV.Text);
				string ma_nv1=txtMaSoNV.Text;				
				DataRow[] r=ds.Tables[0].Select("mnvmay= '"+ma_nv1+"'");				
				DataRow[] rhd=dshd.Tables[0].Select("manv= '"+ma_nv1+"'");
				if(r.Length>0)
				{				
					txtMaBP.Text =r[0]["madv"].ToString();
					cboBoPhan.SelectedValue=txtMaBP.Text;
					txtMaSoNV.Text=r[0]["mnvmay"].ToString();
					if(rhd.Length>0)
					{
						txtChucVu.Text=rhd[0]["macv"].ToString();
						cboChucVu.SelectedValue = txtChucVu.Text;
						txtNgayBN.Text=rhd[0]["m_ngaybn"].ToString();
						txtTGBN.Text=rhd[0]["tgbn"].ToString();
						dtpNgayCongTac.Text=rhd[0]["m_ngaydenct"].ToString();
						cboDang.Text=rhd[0]["dang"].ToString();
						cboChiBo.Text=rhd[0]["chi_bo"].ToString();
						cboDoan.Text=rhd[0]["doan"].ToString();
						cboCongDoan.Text=rhd[0]["cong_doan"].ToString();
					}
					txtHoNV.Text= r[0]["ho"].ToString().Trim();
					txtTenNV.Text =r[0]["ten"].ToString().Trim(); 
					cboPhai.SelectedValue=r[0]["phai"].ToString();
					txtBiDanh.Text=r[0]["bidanh"].ToString(); 				
					txtThuTu.Text=r[0]["stt"].ToString();
                    cboDanToc.SelectedValue = r[0]["madt"].ToString().Trim().Equals("") ? cboDanToc.SelectedIndex = -1 : cboDanToc.SelectedValue = r[0]["madt"].ToString();
                    cboTonGiao.SelectedValue = r[0]["matgiao"].ToString().Trim().Equals("") ? cboTonGiao.SelectedIndex = -1 : cboTonGiao.SelectedValue = r[0]["matgiao"].ToString(); 
					dtpNgaySinh.Text=r[0]["ngaysinh"].ToString();
					txtNguyenQuan.Text=r[0]["quequan"].ToString();
                    cboNguyenQuan.SelectedValue = r[0]["maqg"].ToString().Trim().Equals("") ? cboNguyenQuan.SelectedIndex = -1 : cboNguyenQuan.SelectedValue = r[0]["maqg"].ToString();
					txtNoiSinh.Text=r[0]["noisinh"].ToString(); 
					txtDienThoai.Text=r[0]["dienthoai"].ToString();
					txtThuongTru.Text=r[0]["diachi"].ToString();
                    cboTinhThuongTru.SelectedValue = r[0]["t_diachi"].ToString().Trim().Equals("") ? cboTinhThuongTru.SelectedIndex = -1 : cboTinhThuongTru.SelectedValue = r[0]["t_diachi"].ToString();
					cboTinhThuongTru_SelectionChangeCommitted(null,null);
                    cboQuanThuongTru.SelectedValue = r[0]["h_diachi"].ToString().Trim().Equals("") ? cboQuanThuongTru.SelectedIndex = -1 : cboQuanThuongTru.SelectedValue = r[0]["h_diachi"].ToString();
					txtNoiOHN.Text=r[0]["noio"].ToString();
                    cboTinhOHN.SelectedValue = r[0]["t_noio"].ToString().Trim().Equals("") ? cboTinhOHN.SelectedIndex = -1 : cboTinhOHN.SelectedValue = r[0]["t_noio"].ToString(); 
					cboTinhOHN_SelectionChangeCommitted(null,null);
                    cboQuanOHN.SelectedValue = r[0]["h_noio"].ToString().Trim().Equals("") ? cboQuanOHN.SelectedIndex = -1 : cboQuanOHN.SelectedValue = r[0]["h_noio"].ToString();				
					txtSoCMND.Text=r[0]["cmndso"].ToString(); 
					txtNoiCapCMND.Text=r[0]["noicapcmnd"].ToString();
					dtpNgayCapCMND.Text=r[0]["ngaycapcmnd"].ToString();
                    cboHocVan.SelectedValue = r[0]["mahv"].ToString().Trim().Equals("") ? cboHocVan.SelectedIndex = -1 : cboHocVan.SelectedValue = r[0]["mahv"].ToString();
                    cboNgoaiNgu1.SelectedValue = r[0]["mann"].ToString().Trim().Equals("") ? cboNgoaiNgu1.SelectedIndex = -1 : cboNgoaiNgu1.SelectedValue = r[0]["mann"].ToString();
                    ngoaingu2.SelectedValue = r[0]["mann1"].ToString().Trim().Equals("") ? cboNgoaingu2.SelectedIndex = -1 : cboNgoaingu2.SelectedValue = r[0]["mann1"].ToString();
                    cboNgoaingu3.SelectedValue = r[0]["mann2"].ToString().Trim().Equals("") ? cboNgoaingu3.SelectedIndex = -1 : cboNgoaingu3.SelectedValue = r[0]["mann2"].ToString();
                    cboNgoaingu4.SelectedValue = r[0]["mann3"].ToString().Trim().Equals("") ? cboNgoaingu4.SelectedIndex = -1 : cboNgoaingu4.SelectedValue = r[0]["mann3"].ToString();
                    cboChuyenMon.SelectedValue = r[0]["nnghiep"].ToString().Trim().Equals("") ? cboChuyenMon.SelectedIndex = -1 : cboChuyenMon.SelectedValue = r[0]["nnghiep"].ToString(); 
					txtnamsinh.Text=r[0]["namsinh"].ToString();
					txtCellphone.Text=r[0]["dtdd"].ToString();
					txtMVTat.Text=r[0]["MaVT"].ToString();
                    cboChucdanh.SelectedValue = r[0]["macd"].ToString().Trim().Equals("") ? cboChucdanh.SelectedIndex = -1 : cboChucdanh.SelectedValue = r[0]["macd"].ToString();
                    vitinh.SelectedValue = r[0]["tdth"].ToString().Trim().Equals("") ? vitinh.SelectedIndex = -1 : vitinh.SelectedValue = r[0]["tdth"].ToString();
                    cboChinhtri.SelectedValue = r[0]["chinhtri"].ToString().Trim().Equals("") ? cboChinhtri.SelectedIndex = -1 : cboChinhtri.SelectedValue = r[0]["chinhtri"].ToString();
                    txtSotk.Text = r[0]["sotk"].ToString();
                    txt_masothue.Text = r[0]["msthue"].ToString();
                    txtipmay.Text = r[0]["ip"].ToString();
                    txt_macc.Text = r[0]["macc"].ToString();
                    if (r[0]["nganhang"].ToString()!="")
                     txtNganhang.SelectedValue = r[0]["nganhang"].ToString()!="";//?r[0]["nganhang"].ToString():DBNull.Value;
                    else
                      txtNganhang.SelectedIndex=-1;  
					try
					{
						image = new byte[0];
						image = (byte[])(r[0]["hinhanh"]);
						memo = new MemoryStream(image);
						map = new Bitmap(Image.FromStream(memo));
						picNhanVien.Image = (Bitmap)map;
						picNhanVien.Tag = image;
					}
					catch
					{
						picNhanVien.Tag = "0000.bmp";
						fstr = new System.IO.FileStream(picNhanVien.Tag.ToString(), System.IO.FileMode.Open, System.IO.FileAccess.Read);
						map = new Bitmap(Image.FromStream(fstr));
						picNhanVien.Image = (Bitmap)map;
						image = new byte[fstr.Length];
						fstr.Read(image, 0, System.Convert.ToInt32(fstr.Length));
						fstr.Close();
						picNhanVien.Tag = image;
					}
                    if (bVantay)
                    {
                        loadHinhVanTay(txtMaSoNV.Text);
                    }
					checkCT.Checked=false;lblCT.ForeColor=Color.FromArgb(0,0,255);
					checkDT.Checked=false;lblDT.ForeColor=Color.FromArgb(0,0,255);
					checkHD.Checked=false;lblHD.ForeColor=Color.FromArgb(0,0,255);
					checkGC.Checked=false;lblGC.ForeColor=Color.FromArgb(0,0,255);
					checkNN.Checked=false;lblGC.ForeColor=Color.FromArgb(0,0,255);
					checkCS.Checked=false;lblCS.ForeColor=Color.FromArgb(0,0,255);
					checkSK.Checked=false;lblSK.ForeColor=Color.FromArgb(0,0,255);
					checkDThe.Checked=false;lblDThe.ForeColor=Color.FromArgb(0,0,255);
                    load_ct();
                    load_dt();
                    load_hd();
                    load_gc();
                    load_nn();
                    load_cs();
                    load_sk();
                    load_dthe();
				}
				
			}
			catch(Exception ex){MessageBox.Show(ex.Message);}
		}
		private void load_rong()
		{
			txtMaBP.Text =""; 			cboBoPhan.Text="";	
			txtChucVu.Text = "";        cboChucVu.Text = "";
			txtHoNV.Text= "";			txtTenNV.Text = "";
			cboPhai.Text = "";
			txtBiDanh.Text = ""; 
			txtNgayBN.Text="";
			txtTGBN.Text="";
			txtThuTu.Text ="";
			cboDanToc.SelectedValue = "25"; 
			cboTonGiao.Text = ""; 
			dtpNgaySinh.Text="";
			txtnamsinh.Text="";
			txtNguyenQuan.Text=""; 
			txtNoiSinh.Text=""; 
			txtDienThoai.Text="";
			txtThuongTru.Text="";   cboTinhThuongTru.Text="";	cboQuanThuongTru.Text="";
			txtNoiOHN.Text=""; 		cboTinhOHN.Text="";         cboQuanOHN.Text="";
			txtSoCMND.Text="";		txtNoiCapCMND.Text="";	    dtpNgayCapCMND.Text="";
			dtpNgayCongTac.Text="";	
			cboHocVan.Text = ""; 	cboNgoaiNgu1.Text="";		cboChuyenMon.Text=""; 
			ngoaingu2.Text="";	cboNgoaingu3.Text="";		cboNgoaingu4.Text="";
			cboChucdanh.Text="";
			cboDang.Text=""; 		cboChiBo.Text="";		    cboCongDoan.Text="";cboDoan.Text="";
            cboChinhtri.SelectedIndex = -1;
            txtSotk.Text = "";
            txtNganhang.Text = ""; txt_macc.Text = "0";
		}
        private void Load_TDQLNN()
        {
            cboChinhtri.DisplayMember = "ten";
            cboChinhtri.ValueMember = "ma";
            cboChinhtri.DataSource = mDB.get_tdqlnn().Tables[0];
            cboChinhtri.SelectedIndex = -1;
        }

		private void txtMaSoNV_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{	
			if (!IsNumeric(e.KeyChar.ToString()))
				e.Handled = true;
			if(e.KeyChar==8)
				e.Handled=false;
		}
		private bool IsNumeric (string strNum)
		{	
			int iNum;
			try
			{
				iNum = int.Parse(strNum);
				return true;
			}
			catch
			{
				return false;
			}
		}

		private void txtMaBP_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			
			if (e.KeyCode==Keys.Enter)
			{
				if	(txtMaBP.Text.Length < 3)
				{
					txtMaBP.Text = txtMaBP.Text.PadLeft(3,'0');
					cboBoPhan.SelectedValue=txtMaBP.Text;
				}
				SendKeys.Send("{Tab}{F4}");
			}
		}

		private void cboBoPhan_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
			{
				if (cboBoPhan.SelectedIndex == -1)
				{
					cboBoPhan.SelectedIndex = 0;
				}
				txtMaBP.Text = cboBoPhan.SelectedValue.ToString();
				txtChucVu.Focus();
			}
		}

		private void txtChucVu_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
			{
				if (txtChucVu.Text.Length < 3 )
				{
					txtChucVu.Text = txtChucVu.Text.PadLeft(3,'0');
					cboChucVu.SelectedValue = txtChucVu.Text;
				}
				SendKeys.Send("{Tab}{F4}");
			}
		}

		private void txtChucVu_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if (!IsNumeric(e.KeyChar.ToString()))
				e.Handled = true;
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void cboChucVu_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
			{
				txtNgayBN.Focus();
				
			}
		}
		private void txtMVTat_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
            if (e.KeyCode == Keys.Enter)
            {
                SendKeys.Send("{Tab}");
            }
		}

		private void txtHoNV_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
			{
				SendKeys.Send("{Tab}");				
			}
		}

		private void txtHoNV_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if (IsNumeric(e.KeyChar.ToString()))
				e.Handled = true;
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void txtHoNV_Validating(object sender, System.ComponentModel.CancelEventArgs e)
		{
			//			if(txtHoNV.TextLength == 0)	
			//				txtHoNV.Focus();
			//			else 
			//			{
			//				txtHoNV.Text=txtHoNV.Text.ToUpper();
			//				//mDB.Caps(txtHoNV.Text.ToString());		
			//				SendKeys.Send("{Tab}");
			//			}
		}

		private void txtTenNV_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				txtMVTat.Focus();
		}

		private void txtTenNV_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if (IsNumeric(e.KeyChar.ToString()))
				e.Handled = true;
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void cboPhai_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
			{
				SendKeys.Send("{Tab}");
			}
		}

		private void txtBiDanh_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}{F4}");
		}

		private void txtBiDanh_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if (IsNumeric(e.KeyChar.ToString()))
				e.Handled = true;
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void txtThuTu_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}{F4}");
		}

		private void txtThuTu_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if (!IsNumeric(e.KeyChar.ToString()))
				e.Handled = true;
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void cboDanToc_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}{F4}");
		}

		private void cboTonGiao_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}");
		}

		private int kiemtrangay(int dtemp,int y)
		{
			int d=0;			
			switch(dtemp)
			{
				case 1:
				case 3:
				case 5:
				case 7:
				case 8:
				case 10:
				case 12:
					d=31;
					break;
				case 2:
					if((y%4)==0)
						d=29;
					else if((y%4)!=0)
						d=28;
					break;
				case 4:
				case 6:
				case 9:
				case 11:
					d=30;
					break;
			}
			return d;
		}
		private void dtpNgaySinh_Validated(object sender, System.EventArgs e)
		{
			try
			{                
                dtpNgaySinh.Text = dtpNgaySinh.Text.Trim();
                if (dtpNgaySinh.Text == "  /  /")
                {
                    return;
                }
                if (dtpNgaySinh.Text.Length == 6) dtpNgaySinh.Text = dtpNgaySinh.Text + DateTime.Now.Year.ToString();
                if (!mDB.kiemtrangayhople(dtpNgaySinh.Text))
                {
                    MessageBox.Show(lan.Change_language_MessageText("Ngày không hợp lệ !"), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    dtpNgaySinh.Focus();
                    return;
                }
                if(dtpNgaySinh.Text!="" && dtpNgaySinh.Text!="__/__/____")
				{
					int dd=0,mm=0,yy=0;
					dd=int.Parse(dtpNgaySinh.Text.Substring(0,2));
					mm=int.Parse(dtpNgaySinh.Text.Substring(3,2));
					yy=int.Parse(dtpNgaySinh.Text.Substring(6));
		
					if(int.Parse(Convert.ToString(DateTime.Now.Year-yy))<18)
					{
                        MessageBox.Show(lan.Change_language_MessageText("Chưa đủ 18 tuổi"), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
						dtpNgaySinh.Focus();
						return;
					}                    
					if(dtpNgaySinh.Text!="")
					{
						txtnamsinh.Text=Convert.ToString(int.Parse(yy.ToString()));
                        txtNguyenQuan.Focus();
					}	
				}		
			}
			catch{}			
		}

		private void txtNguyenQuan_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}{F4}");
		}

		private void txtNguyenQuan_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if(e.KeyChar==8)
				e.Handled=false;
		}
		private void txtNguyenQuan_Validating(object sender, System.ComponentModel.CancelEventArgs e)
		{
			if(txtNguyenQuan.TextLength != 0)
				txtNguyenQuan.Text=mDB.Caps(txtNguyenQuan.Text.ToString());
		}

		private void cboNguyenQuan_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
			{
				if (cboNguyenQuan.SelectedIndex==-1)
					cboNguyenQuan.SelectedValue="01";
				SendKeys.Send("{Tab}");
			}
			txtNoiSinh.Text=txtNguyenQuan.Text;
		}

		private void txtNoiSinh_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}");
		}

		private void txtNoiSinh_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void txtDienThoai_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
			{
				SendKeys.Send("{Tab}")   ;
			}
		}

		private void txtDienThoai_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if (!IsNumeric(e.KeyChar.ToString()))
				e.Handled = true;
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void txtDienThoai_Validating(object sender, System.ComponentModel.CancelEventArgs e)
		{
			//			if(txtDienThoai.TextLength == 0)
			//			{
			//				txtThuongTru.Focus();
			//				SendKeys.Send("{F4}");
			//			}
			//			else 
			//				txtDienThoai.Text=mDB.Caps(txtDienThoai.Text.ToString());
		}

		private void txtThuongTru_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}{F4}");
		}

		private void txtThuongTru_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void cboTinhThuongTru_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
            if (e.KeyCode == Keys.Enter)
			{
				if (cboTinhThuongTru.SelectedIndex==-1)
					cboTinhThuongTru.SelectedValue=mDB.Mabv.Substring(0,3);
				SendKeys.Send("{Tab}{F4}");
			}
		}

		private void cboTinhThuongTru_SelectionChangeCommitted(object sender, System.EventArgs e)
		{
			try
			{
				cboQuanThuongTru.DataSource=mDB.get_data("select * from "+m_user+".btdquan  where matt='"+cboTinhThuongTru.SelectedValue.ToString().Trim()+"'").Tables[0];
				cboQuanThuongTru.ValueMember="maqu";
				cboQuanThuongTru.DisplayMember="tenquan";
			}
			catch{}
		}

		private void cboQuanThuongTru_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			try
			{
				if (e.KeyCode == Keys.Enter)
					SendKeys.Send("{Tab}");
					txtNoiOHN.Text=txtThuongTru.Text;
					cboTinhOHN.SelectedValue=cboTinhThuongTru.SelectedValue.ToString();
					string sql="select * from "+m_user+".btdquan where matt='"+cboTinhOHN.SelectedValue.ToString()+"'";
					cboQuanOHN.DisplayMember="tenquan";
					cboQuanOHN.ValueMember="maqu";
					cboQuanOHN.DataSource=mDB.get_data(sql).Tables[0];
					cboQuanOHN.SelectedValue=cboQuanThuongTru.SelectedValue.ToString();
			}
			catch{}
		}


		private void txtNoiOHN_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}{F4}");
		}

		private void txtNoiOHN_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void txtNoiOHN_Validating(object sender, System.ComponentModel.CancelEventArgs e)
		{			
			if(txtNoiOHN.TextLength == 0)
			{
				cboTinhOHN.Focus();
				SendKeys.Send("{F4}");
			}
			else 
				txtNoiOHN.Text=mDB.Caps(txtNoiOHN.Text.ToString());	
		}

		private void cboTinhOHN_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
			{
				if (cboTinhOHN.SelectedIndex==-1)
					cboTinhOHN.SelectedValue=mDB.Mabv.Substring(0,3);
				SendKeys.Send("{Tab}{F4}");
			}
		}

		private void cboTinhOHN_SelectionChangeCommitted(object sender, System.EventArgs e)
		{
            try
            {
                cboQuanOHN.DataSource = mDB.get_data("select * from " + m_user + ".btdquan  where matt='" + cboTinhOHN.SelectedValue.ToString().Trim() + "'").Tables[0];
                cboQuanOHN.ValueMember = "maqu";
                cboQuanOHN.DisplayMember = "tenquan";
            }
            catch { }
		}

		private void cboQuanOHN_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}");
		}

		private void txtSoCMND_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}");
		}

		private void txtSoCMND_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if (!IsNumeric(e.KeyChar.ToString()))
				e.Handled = true;
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void txtSoCMND_Validated(object sender, System.EventArgs e)
		{
			if(txtSoCMND.Text!="")
			{
				if(txtSoCMND.TextLength!=9)
				{
					MessageBox.Show(lan.Change_language_MessageText("Số CMND phải bằng 9 số"),lan.Change_language_MessageText("Thông báo"));
					txtSoCMND.Focus();
					return;
				}
				txtNoiCapCMND.Focus();
			}
			else
			{
				cboChucdanh.Focus();
				SendKeys.Send("{F4}");
			}
		}

		private void txtSoCMND_Validating(object sender, System.ComponentModel.CancelEventArgs e)
		{
			//			if(txtSoCMND.TextLength == 0)
			//			{
			//				
			//				dtpNgayCongTac.Focus();
			//				SendKeys.Send("{Tab}{F4}");
			//			}
			//			else 
			//				txtSoCMND.Text=mDB.Caps(txtSoCMND.Text.ToString());
		}

		private void txtNoiCapCMND_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}");
		}

		private void txtNoiCapCMND_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void txtNoiCapCMND_Validating(object sender, System.ComponentModel.CancelEventArgs e)
		{
			if(txtNoiCapCMND.TextLength == 0)
			{
				dtpNgayCapCMND.Focus();
				SendKeys.Send("{F4}");

			}
			else 
				txtNoiCapCMND.Text=mDB.Caps(txtNoiCapCMND.Text.ToString());
		}

		private void dtpNgayCapCMND_Validated(object sender, System.EventArgs e)
		{
			try
			{
                if (!txtSoCMND.Text.Trim().Equals(""))
                {
                    dtpNgayCapCMND.Text = dtpNgayCapCMND.Text.Trim();
                    if (dtpNgayCapCMND.Text == "  /  /")
                    {
                        MessageBox.Show(lan.Change_language_MessageText("Nhập ngày tháng năm cấp CMND"), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                        dtpNgayCapCMND.Focus();
                        return;
                    }
                    if (dtpNgayCapCMND.Text.Length == 6) dtpNgayCapCMND.Text = dtpNgayCapCMND.Text + DateTime.Now.Year.ToString();
                    if (!mDB.kiemtrangayhople(dtpNgayCapCMND.Text.Trim()))
                    {
                        MessageBox.Show(lan.Change_language_MessageText("Nhập ngày tháng năm không hợp lệ !"), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                        dtpNgayCapCMND.Focus();
                        return;
                    }
                    if (dtpNgayCapCMND.Text != "" && dtpNgayCapCMND.Text != "__/__/____")
                    {

                        int ddns = 0, mmns = 0, yyns = 0;
                        try
                        {
                            ddns = int.Parse(dtpNgayCapCMND.Text.Substring(0, 2));
                            mmns = int.Parse(dtpNgayCapCMND.Text.Substring(3, 2));
                            yyns = int.Parse(dtpNgayCapCMND.Text.Substring(6, 4));
                        }
                        catch { }
                        int yy = 0;
                        yy = int.Parse(txtnamsinh.Text.Trim());
                        int ytemp = 0;
                        ytemp = yy + 13;
                        DateTime tg = DateTime.Now;

                        try
                        {
                            if (yyns <= ytemp)
                            {
                                MessageBox.Show(lan.Change_language_MessageText("Năm sinh phải nhỏ hơn ngày cấp CMND và đủ 14 tuổi trở lên"), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                                dtpNgayCapCMND.Focus();
                                return;
                            }
                        }
                        catch { }
                    }
                }
			}
			catch{}				
		}

		private void dtpNgayCongTac_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}{F4}");
		}

		private void dtpNgayCongTac_Validated(object sender, System.EventArgs e)
		{
			try
			{
				if(dtpNgayCongTac.Text!="" && dtpNgayCongTac.Text!="__/__/____")
				{
					if(dtpNgayCongTac.Text.IndexOf("_")>0 && dtpNgayCongTac.Text!="")
					{
						MessageBox.Show(lan.Change_language_MessageText("Nhập ngày tháng năm công tác"),lan.Change_language_MessageText("Thông báo"));
						dtpNgayCongTac.Focus();
						return ;
					}
					int dd=0,mm=0,yy=0;

					int ddns=0,mmns=0,yyns=0;				
					try
					{					
						ddns=int.Parse(dtpNgayCapCMND.Text.Substring(0,2));
						mmns=int.Parse(dtpNgayCapCMND.Text.Substring(3,2));
						yyns=int.Parse(dtpNgayCapCMND.Text.Substring(6,4));
					}
					catch{}

					dd=int.Parse(dtpNgayCongTac.Text.Substring(0,2));
					mm=int.Parse(dtpNgayCongTac.Text.Substring(3,2));
					yy=int.Parse(dtpNgayCongTac.Text.Substring(6));
				
					if(yy<yyns)
					{
						MessageBox.Show(lan.Change_language_MessageText("Ngày đến công tác phải lớn hơn năm sinh và lớn hơn hay bằng ngày cấp cmnd"),lan.Change_language_MessageText("Thông báo"));
						dtpNgayCongTac.Focus();
						return;
					}
					if(dd<=0 || dd >31)
					{
						MessageBox.Show(lan.Change_language_MessageText("Nhập ngày công tác không hợp lệ"),lan.Change_language_MessageText("Thông báo"));
						dtpNgayCongTac.Focus();
						return;
					}
					if(mm<=0 || mm>12)
					{
						MessageBox.Show(lan.Change_language_MessageText("Nhập ngày công tác không hợp lệ"),lan.Change_language_MessageText("Thông báo"));
						dtpNgayCongTac.Focus();
						return;
					}
					if(dd > kiemtrangay(mm,yy))
					{
						MessageBox.Show(lan.Change_language_MessageText("Nhập ngày công tác không hợp lệ"),lan.Change_language_MessageText("Thông báo"));
						dtpNgayCongTac.Focus();
						return;
					}
				}
			}
			catch{}
		}

		private void cboHocVan_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}{F4}");
		}

		private void cboNgoaiNgu_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}{F4}");
		}

		private void cboChuyenMon_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
			{
				if(cboChuyenMon.SelectedIndex==-1)
					cboChuyenMon.SelectedIndex=0;				
				cboDang.Focus();
			}
		}

		private void cboDang_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}{F4}");
		}

		private void cboDang_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if(e.KeyChar==8)
				e.Handled=false;			
		}

		private void cboDang_Validated(object sender, System.EventArgs e)
		{
            if (cboDang.Text.ToUpper() != "R" || cboDang.Text.ToUpper() != "C")
				if(cboDang.Text!="") 
				{
					MessageBox.Show(lan.Change_language_MessageText("Nhập vào đảng R/r(rồi) hay C/c(chưa) hay rỗng"),lan.Change_language_MessageText("Thông báo"));					
					cboDang.Focus();
				}
		}

		private void cboChiBo_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)			
				SendKeys.Send("{Tab}{F4}");			
		}

		private void cboChiBo_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if (!IsNumeric(e.KeyChar.ToString()))
				e.Handled=true;
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void cboDoan_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)			
				SendKeys.Send("{Tab}{F4}");	
		}

		private void cboDoan_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if(e.KeyChar==8)
				e.Handled=false;			
		}

		private void cboDoan_Validated(object sender, System.EventArgs e)
		{
            if (cboDoan.Text.ToUpper() != "R" || cboDoan.Text.ToUpper() != "C")
				if(cboDoan.Text!="") 
				{
					MessageBox.Show(lan.Change_language_MessageText("Nhập vào đoàn R/r(rồi) hay C/c(chưa) hay rỗng"),lan.Change_language_MessageText("Thông báo"));					
					cboDoan.Focus();
				}
		}

		private void cboCongDoan_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}{F4}");
		}

		private void cboCongDoan_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if(e.KeyChar==8)
				e.Handled=false;			
		}

		private void cboCongDoan_Validated(object sender, System.EventArgs e)
		{
            if (cboCongDoan.Text.ToUpper() != "R" || cboCongDoan.Text.ToUpper() != "C")
				if(cboCongDoan.Text!="") 
				{
					MessageBox.Show(lan.Change_language_MessageText("Nhập vào công đoàn R/r(rồi) hay C/c(chưa) hay rỗng"),lan.Change_language_MessageText("Thông báo"));					
					cboCongDoan.Focus();
				}
		}

		private void butChonHinh_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}");
		}
		private void txtMVTat_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if (IsNumeric(e.KeyChar.ToString()))
				e.Handled = true;
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void butChonHinh_Click(object sender, System.EventArgs e)
		{
			
			string sDir = System.Environment.CurrentDirectory.ToString();
			OpenFileDialog of = new OpenFileDialog();
			of.Title = "Chọn hình";
			of.Filter = "Files (*.bmp)|*.bmp|All Files (*.*)|*.*";
			of.RestoreDirectory = true;
			if (of.ShowDialog() == DialogResult.OK)
			{
			    picNhanVien.Tag = of.FileName;
			    fstr = new System.IO.FileStream(picNhanVien.Tag.ToString(), System.IO.FileMode.Open, System.IO.FileAccess.Read);
			    image = new byte[fstr.Length];
			    fstr.Read(image, 0, System.Convert.ToInt32(fstr.Length));
			    picNhanVien.Tag = image;
			    map = new Bitmap(Image.FromStream(fstr));
			    picNhanVien.Image = (Bitmap)map;
			    fstr.Close();
			}
			System.Environment.CurrentDirectory = sDir;
		}

		private void butTruoc_Click(object sender, System.EventArgs e)
		{			
			this.BindingContext[dsllnv.Tables[0]].Position -= 1;
            dataGrid1.Refresh();

            //tab cong tac
            m_user = mDB.user;
            txtid.Hide();
            load_LBL();
            tongso();
            setcontrol(false);
            ena_btn(true);
            //

            //tab dao tao
            load_LBL_dt();
            //
		}

		private void butSau_Click(object sender, System.EventArgs e)
		{
			this.BindingContext[dsllnv.Tables[0]].Position += 1;
            this.Update();

            //tab cong tac
            m_user = mDB.user;
            txtid.Hide();
            load_LBL();
            tongso();
            setcontrol(false);
            ena_btn(true);
            //

            //tab dao tao
            load_LBL_dt();
            //
		}
		private void butTiep_Click(object sender, System.EventArgs e)
		{
            tabllnv.TabPages[0].Show();
            txtMaSoNV.Text = "";
            int a = 0;
            try
            {
                a = int.Parse(mDB.get_data("select nextval('nhansu.max_manv') as m  from " + mDB.user + ".max_manv ").Tables[0].Rows[0]["m"].ToString());
                a += 1;
            }
            catch
            {
                a = 1;
            }
            
            txtMaSoNV.Text = a.ToString().PadLeft(5, '0');
            enable_ctl(true);
            //if (barcode.Visible) barcode.Text = txtMaSoNV.Text;
            Load_Them();
            txtMaBP.Focus();
            enable_but(false);
		}
        void enable_but(bool ena)
        {
            butTruoc.Enabled = ena;
            butSau.Enabled = ena;
            butThem.Enabled = !ena;
            butTiep.Enabled = ena;
            butTim.Enabled = ena;
            butKetThuc.Enabled = ena;
            butCancel.Enabled = !ena;
            butEdit.Enabled = ena;
            butHuy.Enabled = ena;
            butXem.Enabled = ena;         
        }
        void enable_ctl(bool ena)
        {
            txtnamsinh.Enabled = ena;
            txtipmay.Enabled = ena;
            txtNgayBN.Enabled = ena;// "";
            txtTGBN.Enabled = ena;// "0";
            
            cboPhai.Enabled = ena;//;
            cboDanToc.Enabled = ena;
            cboTonGiao.Enabled = ena;//;
            
            cboPhai.Enabled = ena;//;
            cboTonGiao.Enabled = ena;//;
            txtMaBP.Enabled = ena;
            cboBoPhan.Enabled = ena;
            txtChucVu.Enabled = ena;
            cboChucVu.Enabled = ena;
            cboPhai.Enabled = ena;
            dtpNgaySinh.Enabled = ena;
            cboNguyenQuan.Enabled = ena;
            cboTinhThuongTru.Enabled = ena;
            cboQuanThuongTru.Enabled = ena;
            cboTinhOHN.Enabled = ena;
            cboQuanOHN.Enabled = ena;
            dtpNgayCapCMND.Enabled = ena;
            
            cboChucdanh.Enabled = ena;//;
            txtMaBP.Enabled = ena;// "";
            txtChucVu.Enabled = ena;// "";
            txtHoNV.Enabled = ena;// "";
            txtTenNV.Enabled = ena;// "";
            txtBiDanh.Enabled = ena;// "";
            txtThuTu.Enabled = ena;// txtMaSoNV.Text.Trim();
            txtNguyenQuan.Enabled = ena;// "";
            txtNoiSinh.Enabled = ena;// "";
            txtDienThoai.Enabled = ena;// "";
            txtCellphone.Enabled = ena;// "";
            
            txtThuongTru.Enabled = ena;// "";
            txtNoiOHN.Enabled = ena;// "";
            txtSoCMND.Enabled = ena;// "";
            txtNoiCapCMND.Enabled = ena;// "";
            picNhanVien.Enabled = ena;
            
            txtMVTat.Enabled = ena;// "";
            txtSotk.Enabled = ena;// "";
            txtNganhang.Enabled = ena;
            txt_masothue.Enabled = ena;
            if (txt_macc.Visible == true)
            {
                txt_macc.Enabled = ena;
            }
        }
		private void Load_Them()
		{
            ptb.Image = null;           
            txtnamsinh.Text="";
			txtNgayBN.Text="";
			txtTGBN.Text="0";
			cboHocVan.SelectedIndex = -1;		
			cboChuyenMon.SelectedIndex=-1;			
			cboPhai.SelectedIndex = -1;			
			cboDanToc.SelectedValue="25";			
			cboTonGiao.SelectedIndex = -1;
			cboHocVan.SelectedIndex = -1;		
			cboChuyenMon.SelectedIndex=-1;			
			cboPhai.SelectedIndex = -1;			
			cboTonGiao.SelectedIndex = -1;
			txtMaBP.Text="";
			cboBoPhan.SelectedIndex=-1;
			cboBoPhan.SelectedIndex=-1;
			txtChucVu.Text="";
			cboChucVu.SelectedIndex=-1;
			cboPhai.SelectedIndex=-1;
			dtpNgaySinh.Text = "";
			cboNguyenQuan.SelectedIndex = -1;
			cboTinhThuongTru.SelectedValue=mDB.Mabv.Substring(0,3);
			cboQuanThuongTru.SelectedIndex = -1;
			cboTinhOHN.SelectedValue=mDB.Mabv.Substring(0,3);
			cboQuanOHN.SelectedIndex = -1;
			dtpNgayCapCMND.Text ="";
			dtpNgayCongTac.Text="";			
			cboNgoaiNgu1.SelectedIndex = -1;
            ngoaingu2.SelectedIndex = -1;
            cboChinhtri.SelectedIndex = -1;
			cboNgoaiNgu1.Text="";
			cboNgoaingu2.SelectedIndex=-1;
			cboNgoaingu2.Text="";
			cboNgoaingu3.SelectedIndex=-1;
			cboNgoaingu3.Text="";
			cboNgoaingu4.SelectedIndex=-1;
			cboNgoaingu4.Text="";
			cboHocVan.SelectedIndex=-1;
			cboChuyenMon.SelectedIndex = -1;			
			cboChucdanh.SelectedIndex=-1;
			txtMaBP.Text="";
			txtChucVu.Text="";
			txtHoNV.Text= "";
			txtTenNV.Text = "";
			txtBiDanh.Text = "";
			txtThuTu.Text = txtMaSoNV.Text.Trim();
			txtNguyenQuan.Text="";
			txtNoiSinh.Text="";
			txtDienThoai.Text="";
			txtCellphone.Text="";
			txtThuongTru.Text="";
			txtNoiOHN.Text="";
			txtSoCMND.Text="";
			txtNoiCapCMND.Text="";
			picNhanVien.Image=null;
			picNhanVien.Tag="";				
			cboDang.Text="";
			cboChiBo.Text="";
			cboDoan.Text="";
			cboCongDoan.Text="";
            txtMVTat.Text = "";
            txtSotk.Text = "";
            txt_masothue.Text = "0";
            txtNganhang.Text = "";
            if (txt_macc.Visible == true)
            {
                txt_macc.Text = "0";
            }
			checkCT.Checked=false;lblCT.ForeColor=Color.FromArgb(0,0,255);
			checkDT.Checked=false;lblDT.ForeColor=Color.FromArgb(0,0,255);
			checkHD.Checked=false;lblHD.ForeColor=Color.FromArgb(0,0,255);
			checkGC.Checked=false;lblGC.ForeColor=Color.FromArgb(0,0,255);
			checkNN.Checked=false;lblGC.ForeColor=Color.FromArgb(0,0,255);
			checkCS.Checked=false;lblCS.ForeColor=Color.FromArgb(0,0,255);
			checkSK.Checked=false;lblSK.ForeColor=Color.FromArgb(0,0,255);
			checkDThe.Checked=false;lblDThe.ForeColor=Color.FromArgb(0,0,255);
		}

		private void print_t(bool prn)
		{			
			dsxml.ReadXml("..\\xml\\h_BaoCaosyll.xml");
			dsxml.Clear();
			int pos;string ma;
			string sql="SELECT l.manv,l.ho+' '+l.ten as hoten,l.bidanh as tengoikhac,";
			sql+=" m.diengiai as chucvuhientai,iif(to_char(l.ngaysinh,'dd/mm/yyyy')<>'',day(l.ngaysinh),0) as ngays ,iif(to_char(l.ngaysinh,'dd/mm/yyyy')<>'',month(l.ngaysinh),0) as thangs,";
			sql+=" iif(to_char(l.ngaysinh,'dd/mm/yyyy')<>'',year(l.ngaysinh),namsinh) as nams,dt.tendt as dtoc,tg.tentg as tong,l.noisinh as nois,l.quequan as Queq,";
			sql+=" l.diachi as noiohnay,l.tp_x_than as tpgdXuatThan,l.tp_b_than as nnbttkdTuyenDung,l.msthue,";
			sql+=" to_char(l.ngay_t_gia,'dd/mm/yyyy') as ntgCM,";
			sql+=" to_char(hd.ngaydenct,'dd/mm/yyyy') as ndTuyendung,";	
			sql+=" to_char(l.dubi_dang,'dd/mm/yyyy') as nvDang,";
			sql+=" to_char(l.cthuc_dang,'dd/mm/yyyy') as ncthuc,";						
			sql+=" IIf(l.chinhtri='SC','Sơ Cấp',IIf(l.chinhtri='CC','Cao Cấp',";
			sql+=" IIf(l.chinhtri='CN','Cử Nhân',IIf(l.chinhtri='TC','Trung Cấp','')))) AS LLctri,";
			sql+=" iif(l.mann<>'',nn.tennn,'') as nngu,m.diengiai as ctacCtridptrach,";
			sql+=" iif(hd.mangach='','',mngach.diengiai) as nccVienchuc,hd.mangach as mas,";			
			sql+=" hd.mangach as mangach,hd.hs_lc,00 as b,";
			sql+=" day(date()) as ngayht,";
			sql+=" month(date()) as thanght,year(date()) as namht,";			
			sql+=" to_char(hd.ngayhd,'dd/mm/yyyy') as tthang,l.hinhanh,l.kynang as stctac";
			sql+=" From (((((llnv l inner join hopdong hd on hd.manv=l.manv)";
			sql+=" inner join dantoc dt on dt.madt=l.madt)";
			sql+=" inner join tongiao tg on tg.matgiao=l.matgiao)";
			sql+=" inner join mangach mngach on mngach.ma=hd.mangach)";
			sql+=" left join macv m on m.macv=hd.macv) left join ngoaingu nn on nn.mann=l.mann";
			sql+=" where l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
		
			ds=mDB.get_data(sql);
			DataRow r1;
			DataRow [] dr;
			foreach(DataRow r  in ds.Tables[0].Rows)
			{
				pos=Convert.ToInt16(mDB.next_bacluong(r["mangach"].ToString(),decimal.Parse(r["hs_lc"].ToString())));
				if (pos>0 && pos<16)
				{
					ma=pos.ToString().Trim();	
					dr=dsxml.Tables[0].Select("hoten='"+r["hoten"].ToString()+"'");										
					r1=dsxml.Tables[0].NewRow();
					r1["manv"]=r["manv"].ToString();
					r1["hoten"]=r["hoten"].ToString();	
					r1["tengoikhac"]=r["tengoikhac"].ToString();
					r1["chucvuhientai"]=r["chucvuhientai"].ToString();
					r1["ngays"]=r["ngays"].ToString();
					r1["thangs"]=r["thangs"].ToString();
					r1["nams"]=r["nams"].ToString();
					r1["dtoc"]=r["dtoc"].ToString();
					r1["tong"]=r["tong"].ToString();
					r1["nois"]=r["nois"].ToString();
					r1["Queq"]=r["Queq"].ToString();
					r1["noiohnay"]=r["noiohnay"].ToString();
					r1["tpgdXuatThan"]=r["tpgdXuatThan"].ToString();
					r1["nnbttkdTuyenDung"]=r["nnbttkdTuyenDung"].ToString();
					r1["ntgCM"]=r["ntgCM"].ToString();
					r1["ndTuyendung"]=r["ndTuyendung"].ToString();
					r1["nvDang"]=r["nvDang"].ToString();
					r1["ncthuc"]=r["ncthuc"].ToString();					
					r1["LLctri"]=r["LLctri"].ToString();
					r1["nngu"]=r["nngu"].ToString();
					r1["ctacCtridptrach"]=r["ctacCtridptrach"].ToString();
					r1["nccVienchuc"]=r["nccVienchuc"].ToString();
					r1["mas"]=r["mas"].ToString();
					r1["mangach"]=r["mangach"].ToString();
					r1["hs_lc"]=decimal.Parse(r["hs_lc"].ToString());
					r1["ngayht"]=r["ngayht"].ToString();
					r1["thanght"]=r["thanght"].ToString();
					r1["namht"]=r["namht"].ToString();
					r1["tthang"]=r["tthang"].ToString();
					r1["stctac"]=r["stctac"].ToString();					
					r1["hinhanh"]=r["hinhanh"].ToString();
					r1["b"]=ma;
                    r1["msthue"] = r["msthue"].ToString();
					dsxml.Tables[0].Rows.Add(r1);	
				}
			}

			DataSet ds1=new DataSet();
			string sql1=" SELECT l.mahocham,hm.tenhocham";
			sql1+=" FROM llnv l left join hocham hm on l.mahocham=hh.mahocham";
			sql1+=" WHERE l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
			ds1=mDB.get_data(sql1);

			foreach(DataRow r  in ds1.Tables[0].Rows)
			{
				r1=dsxml.Tables[0].Rows[0];				
				r1["mahocham"]=(r["mahocham"].ToString()!="")?(r["mahocham"].ToString()):"";
				r1["tenhocham"]=(r["tenhocham"].ToString()!="")?(r["tenhocham"].ToString()):"";				
			}

			DataSet ds11=new DataSet();
			string sql11=" SELECT hv.tenhv";
			sql11+=" FROM llnv l left join hocvan hv on hv.mahv=l.mahv";
			sql11+=" WHERE l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
			ds11=mDB.get_data(sql11);

			foreach(DataRow r  in ds11.Tables[0].Rows)
			{
				r1=dsxml.Tables[0].Rows[0];				
				r1["tenhv"]=r["tenhv"].ToString();				
			}

			DataSet ds2=new DataSet();
			string sql2=" SELECT sk.benhly";
			sql2+=" FROM llnv l left join suckhoe sk on sk.manv=l.manv";
			sql2+=" WHERE l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
			ds2=mDB.get_data(sql2);

			foreach(DataRow r  in ds2.Tables[0].Rows)
			{
				r1=dsxml.Tables[0].Rows[0];				
				r1["benhly"]=r["benhly"].ToString();							
			}

			DataSet ds22=new DataSet();
			string sql22=" SELECT kt.noidung as Khen";
			sql22+=" FROM llnv l ,ktkl as kt";
			sql22+=" WHERE l.manv=kt.manv and kt.ktkl=(-1) and l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
			ds22=mDB.get_data(sql22);

			foreach(DataRow r  in ds22.Tables[0].Rows)
			{
				r1=dsxml.Tables[0].NewRow();
				r1["Khen"]=r["Khen"].ToString();
				dsxml.Tables[0].Rows.Add(r1);
			}
			
			DataSet ds222=new DataSet();
			string sql222=" SELECT kt.noidung as Ky";
			sql222+=" FROM llnv l,ktkl as kt";
			sql222+=" WHERE l.manv=kt.manv and kt.ktkl=0 and l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
			ds222=mDB.get_data(sql222);

			foreach(DataRow r  in ds222.Tables[0].Rows)
			{
				r1=dsxml.Tables[0].NewRow();
				r1["Ky"]=r["Ky"].ToString();
				dsxml.Tables[0].Rows.Add(r1);
			}

			DataSet ds3=new DataSet();
			string sql3=" SELECT a.ghichu,b.tenctdt,to_char(a.tungay,'dd/mm/yyyy') +'  -  '+  to_char(a.denngay,'dd/mm/yyyy') as tungay,";
			sql3+=" to_char(a.denngay,'dd/mm/yyyy') as denngay,c.tenhe,d.tenbang";
			sql3+=" FROM llnv l,qtdaotao a,ctdaotao b,hedaotao c,bangcap d";
			sql3+=" WHERE l.manv=a.manv and l.manv='"+txtMaSoNV.Text.ToString().Trim()+"' and ";
			sql3+=" a.mahv=b.mactdt and a.hehocvan=c.mahe and a.mabangcap=d.mabangcap";
			ds3=mDB.get_data(sql3);

			foreach(DataRow r  in ds3.Tables[0].Rows)
			{
				r1=dsxml.Tables[0].NewRow();												
				r1["ghichu"]=r["ghichu"].ToString();				
				r1["tenctdt"]=r["tenctdt"].ToString();				
				r1["tungay"]=r["tungay"].ToString();				
				r1["denngay"]=r["denngay"].ToString();				
				r1["tenhe"]=r["tenhe"].ToString();				
				r1["tenbang"]=r["tenbang"].ToString();	
				dsxml.Tables[0].Rows.Add(r1);	
			}

			DataSet ds44=new DataSet();
			string sql44=" SELECT to_char(c.ngayhl,'dd/mm/yyyy') +'  -  '+ to_char(c.denngay,'dd/mm/yyyy') as c25a,";
			sql44+=" (c.nghenghiep) as c25b,c.ndcv as c25c,c.donvi as c25d";
			sql44+=" FROM llnv l,congviec c";
			sql44+=" WHERE l.manv=c.manv and l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
			ds44=mDB.get_data(sql44);

			foreach(DataRow r  in ds44.Tables[0].Rows)
			{
				r1=dsxml.Tables[0].NewRow();												
				r1["c25a"]=r["c25a"].ToString();				
				r1["c25b"]=r["c25b"].ToString();								
				r1["c25c"]=r["c25c"].ToString();				
				r1["c25d"]=r["c25d"].ToString();				
				dsxml.Tables[0].Rows.Add(r1);	
			}
			//	dsxml.WriteXml("d:\\BaoCaosyll.xml",XmlWriteMode.WriteSchema);
            //if (dsxml.Tables[0].Rows.Count>0)
            //{
            //    if (prn) rpt.Printer(dsxml,"BaoCaosyll.rpt","SƠ YẾU LÝ LỊCH",1);
            //    else
            //    {		
            //        frmReport f=new frmReport(dsxml,"SƠ YẾU LÝ LỊCH","BaoCaosyll.rpt",3,true);
            //        f.ShowDialog(this);
            //    }
            //}
            //else
            //    MessageBox.Show("Chưa có đầy đủ thông tin","Thông Báo");
		}

		private void  print(bool prn)
		{			
           dsxml.ReadXml("..\\xml\\h_BaoCaosyll.xml");
           dsxml.Clear();
			//int pos;string ma;
			string sql="SELECT l.manv,trim(l.ho)||' '||trim(l.ten) as hoten,l.bidanh as tengoikhac,";
			sql+=" m.diengiai as chucvuhientai,";
            sql += " NULLIF(to_char(l.ngaysinh,'dd'),'') as ngays ,NULLIF(to_char(l.ngaysinh,'mm'),'') as thangs,";
            sql += " l.namsinh as nams,l.phai,dt.tendt as dtoc,tg.tentg as tong,l.noisinh as nois,l.quequan as Queq,";
			sql+=" l.diachi as noiohnay,l.tp_x_than as tpgdXuatThan,l.tp_b_than as nnbttkdTuyenDung,l.msthue as msthue,";
			sql+=" to_char(l.ngay_t_gia,'dd/mm/yyyy') as ntgCM,";
			sql+=" to_char(hd.ngaydenct,'dd/mm/yyyy') as ndTuyendung,";	
			sql+=" to_char(l.dubi_dang,'dd/mm/yyyy') as nvDang,";
			sql+=" to_char(l.cthuc_dang,'dd/mm/yyyy') as ncthuc,";
            sql += " case when l.chinhtri='SC' then 'Sơ Cấp' when l.chinhtri='CC' then 'Cao Cấp' ";
            sql+=" when l.chinhtri='CN' then 'Cử Nhân' when l.chinhtri='TC' then 'Trung Cấp' else '' end AS LLctri, ";
            sql += " case when hd.tdqlnn='02' then 'Sơ Cấp' when hd.tdqlnn='03' then 'Trung Cấp' ";
            sql += " when hd.tdqlnn='04' then 'Cao cấp' else '' end AS qlnn ";

            sql += " ,case when l.mann <> '' then trim(nn1.tennn)||'_'||trim(tn1.ten)  else '' end as ngoaingu";
            sql += " ,case when l.mann1 <> '' then trim(nn2.tennn)||'_'||trim(tn2.ten) else '' end as ngoaingu1";
            sql += " ,case when l.mann2 <> '' then trim(nn3.tennn)||'_'||trim(tn3.ten)  else '' end as ngoaingu2";
            sql += " ,case when l.mann3 <> '' then trim(nn4.tennn)||'_'||trim(tn4.ten) else '' end as ngoaingu3";

            sql+=" ,m.diengiai as ctacCtridptrach,";//case when l.mann<>'' then nn.tennn else '' end as nngu
            sql +=" case when hd.mangach='' then '' else mngach.diengiai end  as nccVienchuc,hd.mangach as mas,";			
			sql+=" hd.mangach as mangach,hd.hs_lc,hd.bac as b,";
			sql+=" to_char(now(),'dd') as ngayht,";
            sql += " to_char(now(),'mm') as thanght,to_char(now(),'yyyy') as namht,";			
			sql+=" to_char(hd.ngayhd,'dd/mm/yyyy') as tthang,l.hinhanh,l.kynang as stctac,l.mahocham,hm.tenhocham,";
			sql+=" hv.tenhv as hocvan ,sk.benhly,";
            sql += " th.ten as vitinh";
            sql += " From " + m_user + ".llnv l inner join " + m_user + ".hopdong hd on hd.manv=l.manv ";
            sql += " inner join " + m_user + ".dantoc dt on dt.madt=l.madt";
            sql += " inner join " + m_user + ".tongiao tg on tg.matgiao=l.matgiao inner join " + m_user + ".mangach mngach on mngach.ma=hd.mangach ";
            sql += " left join " + m_user + ".ngoaingu nn on nn.mann=l.mann left join " + m_user + ".dmcv m on hd.macv=m.macv left join " + m_user + ".hocham hm on hm.mahocham=l.mahocham";
            sql += " left join " + m_user + ".hocvan hv on hv.mahv=l.mahv left join " + m_user + ".suckhoe sk on sk.manv=l.manv";
            
            sql += " left join " + m_user + ".tdnnth th on l.tdth=th.ma";
           
            sql += " left join " + m_user + ".ngoaingu_1 nn1 on l.mann=nn1.mann";
            sql += " left join " + m_user + ".tdnn1 tn1 on l.tdnn=tn1.ma";
            sql += " left join " + m_user + ".ngoaingu_2 nn2 on l.mann1=nn2.mann";
            sql += " left join " + m_user + ".tdnn2 tn2 on l.tdnn1=tn2.ma";
            sql += " left join " + m_user + ".ngoaingu_3 nn3 on l.mann2=nn3.mann";
            sql += " left join " + m_user + ".tdnn3 tn3 on l.tdnn2=tn3.ma";
            sql += " left join " + m_user + ".ngoaingu_4 nn4 on l.mann3=nn4.mann";
            sql += " left join " + m_user + ".tdnn4 tn4 on l.tdnn3=tn4.ma";

            sql += " inner join "+m_user+".max_lan ml on hd.manv=ml.manv";
			sql += " WHERE hd.lan=ml.lan and l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
            sql += " and sk.id = (select max(id) from "+m_user+".suckhoe where manv='"+txtMaSoNV.Text.Trim()+"')";
			ds=mDB.get_data(sql);
            //ds.WriteXml("..\\xml\\h_BaoCaosyll.xml", XmlWriteMode.WriteSchema);
			DataRow r1,r0;
			DataRow [] dr,dr1;
			foreach(DataRow r  in ds.Tables[0].Rows)
			{
				//pos=Convert.ToInt16(mDB.next_bacluong(r["mangach"].ToString(),decimal.Parse(r["hs_lc"].ToString())));
                //if (pos>0 && pos<16)
                //{
					//ma=pos.ToString().Trim();
                    r0=mDB.getrowbyid(dsxml.Tables[0], "manv='" + r["manv"].ToString() + "'");
                    if (r0 == null)
                    {
                        r1 = dsxml.Tables[0].NewRow();
                        dr = dsxml.Tables[0].Select("manv='" + r["manv"].ToString() + "'");
                        r1["manv"] = r["manv"].ToString();
                        r1["hoten"] = r["hoten"].ToString();
                        r1["tengoikhac"] = r["tengoikhac"].ToString();
                        r1["chucvuhientai"] = r["chucvuhientai"].ToString();
                        r1["ngays"] = r["ngays"].ToString() ;//!= "") ? (int.Parse(r["ngays"].ToString())) : 0;
                        r1["thangs"] = r["thangs"].ToString() ;//!= "") ? (int.Parse(r["thangs"].ToString())) : 0;//xem
                        r1["nams"] = r["nams"].ToString();
                        r1["phai"] = r["phai"].ToString();
                        r1["dtoc"] = r["dtoc"].ToString();
                        r1["tong"] = r["tong"].ToString();
                        r1["nois"] = r["nois"].ToString();
                        r1["Queq"] = r["Queq"].ToString();
                        r1["noiohnay"] = r["noiohnay"].ToString();
                        r1["tpgdXuatThan"] = r["tpgdXuatThan"].ToString();
                        r1["nnbttkdTuyenDung"] = r["nnbttkdTuyenDung"].ToString();
                        r1["ntgCM"] = r["ntgCM"].ToString();
                        r1["ndTuyendung"] = r["ndTuyendung"].ToString();

                        r1["msthue"] = r["msthue"].ToString();

                        r1["nvDang"] = r["nvDang"].ToString();
                        r1["ncthuc"] = r["ncthuc"].ToString();
                        r1["LLctri"] = r["LLctri"].ToString();
                        r1["QLNN"] = r["qlnn"].ToString();

                        r1["ngoaingu"] = r["ngoaingu"].ToString();
                        r1["ngoaingu1"] = r["ngoaingu1"].ToString();
                        r1["ngoaingu2"] = r["ngoaingu2"].ToString();
                        r1["ngoaingu3"] = r["ngoaingu3"].ToString();
                        r1["vitinh"] = r["vitinh"].ToString();
                        r1["ctacCtridptrach"] = r["ctacCtridptrach"].ToString();
                        r1["nccVienchuc"] = r["nccVienchuc"].ToString();
                        r1["mas"] = r["mas"].ToString();
                        r1["mangach"] = r["mangach"].ToString();
                        r1["hs_lc"] = decimal.Parse(r["hs_lc"].ToString());
                        r1["ngayht"] = r["ngayht"].ToString();
                        r1["thanght"] = r["thanght"].ToString();
                        r1["namht"] = r["namht"].ToString();
                        r1["tthang"] = r["tthang"].ToString();
                        r1["stctac"] = r["stctac"].ToString();
                        r1["hinhanh"] = r["hinhanh"];
                        r1["b"] = r["b"].ToString();
                        r1["mahocham"] = (r["mahocham"].ToString() != "") ? r["mahocham"].ToString() : "";
                        r1["tenhocham"] = (r["tenhocham"].ToString() != "") ? r["tenhocham"].ToString() : "";
                        r1["hocvan"] = (r["hocvan"].ToString() != "") ? (r["hocvan"].ToString()) : "";
                        r1["benhly"] = (r["benhly"].ToString() != "") ? (r["benhly"].ToString()) : "";
                        dsxml.Tables[0].Rows.Add(r1);
                    }
				//}
			}

			DataSet ds22=new DataSet();
			string sql22=" SELECT kt.manv,kt.noidung as Khen";
            sql22 += " FROM " + m_user + ".llnv l left join " + m_user + ".ktkl kt on kt.manv=l.manv";
			sql22+=" WHERE kt.ktkl=false and l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
            sql22 += " and kt.ngay=(select max(ngay) from " + m_user + ".ktkl where manv='"+txtMaSoNV.Text.Trim() +"')";
			ds22=mDB.get_data(sql22);

			foreach(DataRow r  in ds22.Tables[0].Rows)
			{
                r0 = mDB.getrowbyid(dsxml.Tables[0], "manv='" + r["manv"].ToString() + "'");
                if (r0 != null)
                {
                    //r0["Khen"] = r["Khen"].ToString();
                    dr1 = dsxml.Tables[0].Select("manv='" + r["manv"].ToString() + "'");
                    dr1[0]["khen"] = r["Khen"].ToString();
                }
				
			}
			
			DataSet ds222=new DataSet();
			string sql222=" SELECT kt.manv, kt.noidung as Ky";
            sql222 += " FROM " + m_user + ".llnv l left join " + m_user + ".ktkl kt on kt.manv=l.manv";
			sql222+=" WHERE kt.ktkl=true and l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
            sql222 += " and kt.ngay=(select max(ngay) from "+m_user +".ktkl where manv='"+txtMaSoNV.Text.Trim()+"')";
           
			ds222=mDB.get_data(sql222);

			foreach(DataRow r  in ds222.Tables[0].Rows)
			{
                r1 = mDB.getrowbyid(dsxml.Tables[0], "manv='" + r["manv"].ToString() + "'");
                if (r1 != null)
                {
                    dr1 = dsxml.Tables[0].Select("manv='" + r["manv"].ToString() + "'");
                    dr1[0]["Ky"] = r["Ky"].ToString();
                }
			}

			DataSet ds3=new DataSet();
			string sql3=" SELECT l.manv,a.ghichu,b.tenctdt,";
            sql3 += " to_char(a.tungay,'dd/mm/yyyy') ||'  -  '|| to_char(a.denngay,'dd/mm/yyyy') as tungay,";
			sql3+=" to_char(a.denngay,'dd/mm/yyyy') as denngay,c.tenhe,d.tenbang";
            sql3 += " FROM (((" + m_user + ".llnv l left join " + m_user + ".qtdaotao a on a.manv=l.manv) left join " + m_user + ".ctdaotao b on b.mactdt=l.nnghiep) ";
            sql3 += " left join " + m_user + ".hedaotao c on c.mahe=a.hehocvan)";
            sql3 += " left join " + m_user + ".bangcap d on l.td_nnghiep=d.mabangcap";
            sql3 += " where l.manv='" + txtMaSoNV.Text.ToString().Trim() + "'";
			ds3=mDB.get_data(sql3);
            try
            {
                foreach (DataRow r in ds3.Tables[0].Rows)
                {
                    r1 = mDB.getrowbyid(dsxml.Tables[0], "manv='" + r["manv"].ToString() + "'");
                    if (r1 != null)
                    {
                        dr1 = dsxml.Tables[0].Select("manv='" + r["manv"].ToString() + "'");
                        dr1[0]["ghichu"] = r["ghichu"].ToString();
                        dr1[0]["tenctdt"] = r["tenctdt"].ToString();
                        dr1[0]["tungay"] = r["tungay"].ToString();
                        dr1[0]["denngay"] = r["denngay"].ToString();
                        dr1[0]["tenhe"] = r["tenhe"].ToString();
                       // MessageBox.Show(r["tenbang"].ToString());
                        dr1[0]["tenbang"] = r["tenbang"].ToString();
                        //dsxml.Tables[0].Rows.Add(r1);
                    }
                }
            }
            catch(Exception ex) 
            {
                MessageBox.Show(ex.ToString());
            }

			DataSet ds44=new DataSet();
			string sql44=" SELECT l.manv,to_char(c.ngayhl,'dd/mm/yyyy') ||'  -  '|| to_char(c.denngay,'dd/mm/yyyy') as c25a,";
			sql44+=" (c.nghenghiep) as c25b,c.ndcv as c25c,c.donvi as c25d";
            sql44 += " FROM " + m_user + ".llnv l," + m_user + ".congviec c";
			sql44+=" WHERE l.manv=c.manv and l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
			ds44=mDB.get_data(sql44);

			foreach(DataRow r  in ds44.Tables[0].Rows)
			{
				r1 = mDB.getrowbyid(dsxml.Tables[0], "manv='" + r["manv"].ToString() + "'");
                if (r1 != null)
                {
                    dr1 = dsxml.Tables[0].Select("manv='" + r["manv"].ToString() + "'");
                    dr1[0]["c25a"] = r["c25a"].ToString();
                    dr1[0]["c25b"] = r["c25b"].ToString();
                    dr1[0]["c25c"] = r["c25c"].ToString();
                    dr1[0]["c25d"] = r["c25d"].ToString();
                }
			}
			dsxml.WriteXml("..\\xml\\h_BaoCaosyll.xml",XmlWriteMode.WriteSchema);
            if (dsxml.Tables[0].Rows.Count > 0)
            {

                frmReport f = new frmReport(mDB, dsxml, lan.Change_language_MessageText("TIỂU SỬ TÓM TẮT"), "h_BaoCaosyll.rpt", false,ten_nd);
                    f.ShowDialog(this);
                
            }
            else
                MessageBox.Show(lan.Change_language_MessageText("Chưa có đầy đủ thông tin"),lan.Change_language_MessageText("Thông Báo"));
		}
		private void print1(bool prn)
		{	
			try
			{
                dsxml.ReadXml("..\\xml\\h_BaoCaosyll1.xml");
				dsxml.Clear();
			
				DataRow r1;					
			
				DataSet ds22=new DataSet();
				string sql22=" SELECT kt.noidung as Khen";
				sql22+=" FROM llnv l,ktkl as kt";
				sql22+=" WHERE l.manv=kt.manv and kt.ktkl=(-1) and l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
				ds22=mDB.get_data(sql22);

				foreach(DataRow r  in ds22.Tables[0].Rows)
				{
					r1=dsxml.Tables[0].NewRow();
					r1["Khen"]=r["Khen"].ToString();
					dsxml.Tables[0].Rows.Add(r1);
				}
			
				DataSet ds222=new DataSet();
				string sql222=" SELECT kt.noidung as Ky";
				sql222+=" FROM llnv l,ktkl as kt";
				sql222+=" WHERE l.manv=kt.manv and kt.ktkl=0 and l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
				ds222=mDB.get_data(sql222);

				foreach(DataRow r  in ds222.Tables[0].Rows)
				{
					r1=dsxml.Tables[0].Rows[0];
					r1["Ky"]=r["Ky"].ToString();				
				}

			
				//dsxml.WriteXml("d:\\BaoCaosyll1.xml",XmlWriteMode.WriteSchema);
				//			if (dsxml.Tables[0].Rows.Count>0)
            //{
            //    if (prn) rpt.Printer(dsxml,"BaoCaosyll1.rpt","",1);
            //    else
            //    {		
            //        frmReport f=new frmReport(dsxml,"","BaoCaosyll1.rpt",3,true);
            //        f.ShowDialog(this);
            //    }
            //}
				//			else
				//				MessageBox.Show("Nhân viên này chưa được khen thưởng , kỷ luật","Thông Báo");
			}
			catch{}
		}

		private void print2(bool prn)
		{			
			DataSet ds3=new DataSet();
			string sql3=" SELECT a.ghichu,b.tenctdt,to_char(a.tungay,'dd/mm/yyyy') +'  -  '+  to_char(a.denngay,'dd/mm/yyyy') as tungay,";
			sql3+=" to_char(a.denngay,'dd/mm/yyyy') as denngay,c.tenhe,d.tenbang";
			sql3+=" FROM llnv l,qtdaotao a,ctdaotao b,hedaotao c,bangcap d";
			sql3+=" WHERE l.manv=a.manv and l.manv='"+txtMaSoNV.Text.ToString().Trim()+"' and ";
			sql3+=" a.mahv=b.mactdt and a.hehocvan=c.mahe and a.mabangcap=d.mabangcap";
			ds3=mDB.get_data(sql3);

			//ds3.WriteXml("d:\\BaoCaosyll2.xml",XmlWriteMode.WriteSchema);
            //if (ds3.Tables[0].Rows.Count>0)
            //{
            //    if (prn) rpt.Printer(ds3,"BaoCaosyll2.rpt","",1);
            //    else
            //    {		
            //        frmReport f=new frmReport(ds3,"","BaoCaosyll2.rpt",3,true);
            //        f.ShowDialog(this);
            //    }
            //}
            //else
            //    MessageBox.Show("Chưa có đầy đủ thông tin về quá trình đào tạo của nhân viên này","Thông Báo");
		}

		private void print3(bool prn)
		{									
			DataSet ds44=new DataSet();
			string sql44=" SELECT to_char(c.ngayhl,'dd/mm/yyyy') +'  -  '+ to_char(c.denngay,'dd/mm/yyyy') as c25a,";
			sql44+=" trim(c.nghenghiep) +' - '+ trim(c.ndcv) +' - '+ trim(c.donvi) as c25d";
			sql44+=" FROM llnv l,congviec c";
			sql44+=" WHERE l.manv=c.manv and l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
			ds44=mDB.get_data(sql44);

			//ds44.WriteXml("d:\\BaoCaosyll3.xml",XmlWriteMode.WriteSchema);
            //if (ds44.Tables[0].Rows.Count>0)
            //{
            //    if (prn) rpt.Printer(ds44,"BaoCaosyll3.rpt","",1);
            //    else
            //    {		
            //        frmReport f=new frmReport(ds44,"","BaoCaosyll3.rpt",3,true);
            //        f.ShowDialog(this);
            //    }
            //}
            //else
            //    MessageBox.Show("Chưa có đầy đủ thông tin về quá trình công tác của nhân viên này","Thông Báo");
		}

		private void print4(bool prn)
		{	
			try
			{					
				DataSet ds44=new DataSet();
				string sql44=" SELECT dt.tendt as c1,gc.htendtg as c2, gc.namsinh as c3,gc.quequan as c4";
				sql44+=" FROM giacanh gc,doituong dt,llnv l";
				sql44+=" WHERE l.manv=gc.manv and gc.madt=dt.madt and l.manv='"+txtMaSoNV.Text.ToString().Trim()+"'";
				sql44+=" order by dt.madt";
				ds44=mDB.get_data(sql44);

				//ds44.WriteXml("d:\\BaoCaosyll4.xml",XmlWriteMode.WriteSchema);
							
                //if (prn) rpt.Printer(ds44,"BaoCaosyll4.rpt","",1);
                //else
                //{		
                //    frmReport f=new frmReport(ds44,"","BaoCaosyll4.rpt",3,true);
                //    f.ShowDialog(this);
                //}
			}
			catch{}
		}

		private void butThem_Click(object sender, System.EventArgs e)
		{
			try
			{
				if(!kiemtra()) return;
                if (!capnhatttnhanvien())
                {
                    MessageBox.Show(lan.Change_language_MessageText("Không cập nhật được lý lịch nhân viên!"), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    return;
                }
                if (fag == 1 && !thaydoi_madv())
                {
                    MessageBox.Show(lan.Change_language_MessageText("Thông báo"),lan.Change_language_MessageText("Không cập nhật được mã đơn vị"),MessageBoxButtons.OK,MessageBoxIcon.Warning);
                    return;
                }
                if (fag == 1 && !thaydoi_macv())
                {
                    MessageBox.Show(lan.Change_language_MessageText("Thông báo"), lan.Change_language_MessageText("Không cập nhật được mã chức vụ"), MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    return;
                }
                enable_but(true);
                butEdit.Enabled = admin;
                butHuy.Enabled = admin;
                enable_ctl(false);
                if (bVantay && ma_vantay=="")
                    luu_vantay();
				txtMaSoNV.Focus();
				tongso();	
				butTiep.Focus();
				load_dgrid("");
                load_LLNV();
			}	
			catch{}
							
		}
        private void luu_vantay()
        {
            try
            {
                string ma = txtMaSoNV.Text.Trim();
                fnhandang.save_orac(ma);
            }
            catch { }
        }
		private void SaveImage()
		{
			if (bBarcode)
			{
				if (!System.IO.Directory.Exists("..\\barcode")) System.IO.Directory.CreateDirectory("..\\barcode");
				barcode.Picture.Save("..\\barcode\\barcode.bmp");
				pBarcode.Tag = "..\\barcode\\barcode.bmp";
				fstr = new System.IO.FileStream(pBarcode.Tag.ToString(), System.IO.FileMode.Open, System.IO.FileAccess.Read);
				image = new byte[fstr.Length];
				fstr.Read(image, 0, System.Convert.ToInt32(fstr.Length));
				map = new Bitmap(Image.FromStream(fstr));
				pBarcode.Tag = image;
				pBarcode.Image = (Bitmap)map;
				fstr.Close();
				mDB.upd_barcode(txtMaSoNV.Text, (byte[])(image));
			}
			mDB.upd_image_nv(txtMaSoNV.Text,(byte[]) picNhanVien.Tag);
		}
		private bool capnhatttnhanvien()
		{			
			string  ma_nv,manv1,ho_nv,ten_nv,bo_phan,ten_bp,chucvu,ten_cv,bi_danh,sott,phai_,dan_toc,ton_giao,
				ngay_sinh,nguyen_quan,quoc_tich,thuong_tru,noi_ohiennay,noi_sinh,dien_thoai,tinh_thuongtru,
				huyen_thuongtru,tinh_ohiennay,ma_quocgia,huyen_ohiennay,so_cmnd,noi_capcmnd,ngay_capcmnd,
				s_mavt,s_macd,s_dtdd,s_ngay_bn,cthich_cv,msthue,ip,macc;
            decimal hs_cv = 0;
			int nam_sinh=0,tg_bn;
            bool gttv = false;
			try
			{
				ma_nv=txtMaSoNV.Text;
				manv1=txtMaSoNV.Text;
				ho_nv=txtHoNV.Text;
				ten_nv=txtTenNV.Text;
				bo_phan=cboBoPhan.SelectedValue.ToString();				
				ten_bp=cboBoPhan.Text;
				chucvu=cboChucVu.SelectedValue.ToString();				
				ten_cv=cboChucVu.Text;
				bi_danh=txtBiDanh.Text;		
				sott=(txtThuTu.Text.ToString());
				phai_=cboPhai.Text.ToString();
				dan_toc=cboDanToc.SelectedValue.ToString();
				ton_giao=cboTonGiao.SelectedValue.ToString();
                ip = txtipmay.Text;
                if (txt_macc.Visible == true)
                {
                    macc = txt_macc.Text.Trim();
                }
                else
                {
                    macc = "0";
                }
                // "  /  /"
                dtpNgaySinh.Text = dtpNgaySinh.Text.Trim();
                if (dtpNgaySinh.Text.Trim() == "/  /")
                    ngay_sinh = "";
                else
				    ngay_sinh=dtpNgaySinh.Text.ToString();
				nguyen_quan=txtNguyenQuan.Text.ToString();
				ma_quocgia=cboNguyenQuan.SelectedValue.ToString();
				quoc_tich=cboNguyenQuan.SelectedValue.ToString();
				thuong_tru=txtThuongTru.Text.ToString();
				noi_ohiennay=txtNoiOHN.Text.ToString();
				noi_sinh=txtNoiSinh.Text.ToString();
				dien_thoai=txtDienThoai.Text.ToString();
				tinh_thuongtru=cboTinhThuongTru.SelectedValue.ToString();
				huyen_thuongtru=cboQuanThuongTru.SelectedValue.ToString();
				tinh_ohiennay=cboTinhOHN.SelectedValue.ToString();
				huyen_ohiennay=cboQuanOHN.SelectedValue.ToString();
				so_cmnd=txtSoCMND.Text;
				noi_capcmnd=txtNoiCapCMND.Text;
                //
                dtpNgayCapCMND.Text=dtpNgayCapCMND.Text.Trim();
                if (dtpNgayCapCMND.Text.Trim() == "/  /")
                    ngay_capcmnd = "";
                else
				    ngay_capcmnd=dtpNgayCapCMND.Text;				
				s_mavt=txtMVTat.Text;
				s_macd=cboChucdanh.SelectedValue.ToString();
				s_dtdd=txtCellphone.Text.Trim();
					
				try
				{
					if(txtnamsinh.Text.Trim() !="")
						nam_sinh=int.Parse(txtnamsinh.Text.Trim());
					else
						if(ngay_sinh.Trim()!="")
						nam_sinh =int.Parse(ngay_sinh.Substring(6,4).ToString());
				}
				catch{}
                txtNgayBN.Text = txtNgayBN.Text.Trim();
                if (txtNgayBN.Text.Trim() == "/  /")
                    s_ngay_bn = "";
                else
				    s_ngay_bn=txtNgayBN.Text; //bổ nhiệm

				tg_bn=(txtTGBN.Text.Trim()=="")?0:int.Parse(txtTGBN.Text);
				cthich_cv=cboChucVu.Text;
                // thang
                string m_nganhang = "0";
                if (txtNganhang.SelectedIndex != -1)
                {
                    m_nganhang = txtNganhang.SelectedValue.ToString();
                }
                // them cot maso thue
                msthue=txt_masothue.Text.Trim();
                try
                {
                    gttv=mDB.Insert_lylichnv(ma_nv, manv1, bo_phan, sott, ho_nv,
                        ten_nv, bi_danh, ngay_sinh, phai_, noi_sinh, nguyen_quan,
                        thuong_tru, tinh_thuongtru, huyen_thuongtru,
                        noi_ohiennay, tinh_ohiennay, huyen_ohiennay, dien_thoai,
                        so_cmnd, ngay_capcmnd, noi_capcmnd, dan_toc,
                        ton_giao, quoc_tich, s_mavt, int.Parse(nam_sinh.ToString()),
                        s_dtdd, s_macd,txtSotk.Text,m_nganhang,msthue,ten_nd,macc,ngayht);
                    mDB.Execute_data("update nhansu.llnv set ip='" + ip + "' where manv='" + ma_nv + "'");
                }
                catch (Exception e)
                {
                    return false;
                }

                if (picNhanVien.Tag.ToString() != "")
                {
                    SaveImage(); 
                }

				try
				{
                    hs_cv = get_hscv(chucvu.Trim());
					gttv= mDB.Insert_hopdongLylich(ma_nv,bo_phan,manv1,sott,chucvu,cthich_cv,s_ngay_bn,tg_bn,hs_cv);
				}
				catch(Exception ex)
                {
                    return false;
                }			
			}
			catch
            {
                return false;
            }
            return gttv;
		}
        private decimal get_hscv(string macv)
        {
            DataSet dscv = new DataSet();
            dscv = mDB.get_data(" select hscv from " + mDB.user + ".dmcv where macv='" + macv + "'");
            decimal hscv = decimal.Parse(dscv.Tables[0].Rows[0][0].ToString());
            return hscv;
        }
		 void tongso()
		{
			try
			{
                ds=mDB.f_countNV();
                TSo=ds.Tables[0].Rows[0][0].ToString();
				txtTSo.Text="";
				txtTSo.Text=TSo;
			}
			catch{}
		}
		private bool kiemtra()
		{
			if(cboBoPhan.SelectedIndex==-1 || txtMaBP.Text=="")
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu nhập mã bộ phận"),lan.Change_language_MessageText("Thông báo"));
				txtMaBP.Focus();
				return false;
			}

			if(txtMaSoNV.Text==""||txtMaSoNV.Text=="00000")
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu nhập mã nhân viên"),lan.Change_language_MessageText("Thông báo"));
				txtMaSoNV.Focus();
				return false;
			}
			if(cboChucVu.SelectedIndex==-1 || txtChucVu.Text=="" || txtChucVu.Text=="000")
			{
				MessageBox.Show(lan.Change_language_MessageText("Nhập mã chức vụ"),lan.Change_language_MessageText("Thông báo"));
				txtChucVu.Focus();
				return false;
			}
			if(txtHoNV.Text=="" )
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu nhập họ nhân viên"),lan.Change_language_MessageText("Thông báo"));
				txtHoNV.Focus();
				return false;
			}
			if(txtTenNV.Text=="")
			{
				MessageBox.Show("Yêu cầu nhập tên nhân viên","Thông báo");
				txtTenNV.Focus();
				return false;
			}
			if(cboPhai.SelectedIndex==-1)
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu chọn giới tính"),lan.Change_language_MessageText("Thông báo"));
				cboPhai.Focus();
				return false;
			}			
			if(cboDanToc.SelectedIndex==-1)
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu chọn dân tộc"),lan.Change_language_MessageText("Thông báo"));
				cboDanToc.Focus();
				return false;
			}			
			if(cboTonGiao.SelectedIndex==-1)
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu chọn tôn giáo"),lan.Change_language_MessageText("Thông báo"));
				cboTonGiao.Focus();
				return false;
			}			
			if(txtnamsinh.Text=="" && dtpNgaySinh.Text=="")
			{
				MessageBox.Show(lan.Change_language_MessageText("Nhập ngày sinh nhân viên"),lan.Change_language_MessageText("Thông báo"));
				dtpNgaySinh.Focus();
				return false;
			}
			if(txtNguyenQuan.Text=="")
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu nhập nguyên quán"),lan.Change_language_MessageText("Thông báo"));
				txtNguyenQuan.Focus();
				return false;
			}
			if(cboNguyenQuan.SelectedIndex==-1)
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu chọn quốc gia"),lan.Change_language_MessageText("Thông báo"));
				cboNguyenQuan.Focus();
				return false;
			}
			if(txtNoiSinh.Text=="")
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu nhập nơi sinh"),lan.Change_language_MessageText("Thông báo"));
				txtNoiSinh.Focus();
				return false;
			}
			if(txtDienThoai.Text!="")
			{
				if(txtDienThoai.TextLength <6 || txtDienThoai.TextLength > 15)
				{
					MessageBox.Show(lan.Change_language_MessageText("Số điện thoại không hợp lệ"),lan.Change_language_MessageText("Thông báo"));
					txtDienThoai.Focus();
					return false;
				}
			}
			if(txtThuongTru.Text=="" )
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu nhập nơi thường trú"),lan.Change_language_MessageText("Thông báo"));
				txtThuongTru.Focus();
				return false;
			}
			if(cboTinhThuongTru.SelectedIndex==-1)
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu chọn tỉnh thường trú"),lan.Change_language_MessageText("Thông báo"));
				cboTinhThuongTru.Focus();
				return false;
			}
			if(cboQuanThuongTru.SelectedIndex==-1)
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu chọn quận/huyện thường trú"),lan.Change_language_MessageText("Thông báo"));
				cboQuanThuongTru.Focus();
				return false;
			}
			if(txtNoiOHN.Text=="")
			{
				MessageBox.Show(lan.Change_language_MessageText("Nhập nơi ở hiện nay"),lan.Change_language_MessageText("Thông báo"));
				txtNoiOHN.Focus();
				return false;
			}
			if(cboTinhOHN.SelectedIndex==-1)
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu chọn tỉnh ở hiện nay"),lan.Change_language_MessageText("Thông báo"));
				cboTinhOHN.Focus();
				return false;
			}
			if(cboQuanOHN.SelectedIndex==-1)
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu chọn quận/huyện ở hiện nay"),lan.Change_language_MessageText("Thông báo"));
				cboQuanOHN.Focus();
				return false;
			}
			if(cboChucdanh.SelectedIndex==-1)
			{
				MessageBox.Show(lan.Change_language_MessageText("Yêu cầu chọn chức danh"),lan.Change_language_MessageText("Thông báo"));
				cboChucdanh.Focus();
				SendKeys.Send("{F4}");
				return false;
			}
			return true;			
		}
		private void butHuy_Click(object sender, System.EventArgs e)
		{
			DataSet ds=new DataSet();
			string ma_nv=txtMaSoNV.Text;
			DialogResult dr = MessageBox.Show(lan.Change_language_MessageText("Bạn có muốn hủy nhân viên này không"),AccessData.Msg,MessageBoxButtons.YesNo,MessageBoxIcon.Question);			
			if(dr == DialogResult.Yes) 			
			{	
				try
				{
					mDB.Execute_data("Delete  from "+mDB.user+".llnv Where mnvmay= '"+ ma_nv + "'");
                    mDB.Execute_data("Delete  from " + mDB.user + ".hopdong Where manv= '" + ma_nv + "'");
                    mDB.Execute_data("DELETE  FROM " + mDB.user + ".thebhyt WHERE manv='" + ma_nv + "'");//tabcapso thebaohiemyte
                    mDB.Execute_data("DELETE  FROM " + mDB.user + ".congviec WHERE manv='" + ma_nv + "'");
                    mDB.Execute_data("DELETE  FROM " + mDB.user + ".qtdaotao WHERE manv='" + ma_nv + "'");
                    mDB.Execute_data("DELETE  FROM " + mDB.user + ".hphi WHERE manv='" + ma_nv + "'");
                    mDB.Execute_data("DELETE  FROM " + mDB.user + ".ktkl WHERE manv='" + ma_nv + "'");
                    mDB.Execute_data("DELETE  FROM " + mDB.user + ".giacanh WHERE manv='" + ma_nv + "'"); ;
                    mDB.Execute_data("DELETE  FROM " + mDB.user + ".xuatcanh WHERE manv='" + ma_nv + "'");
                    mDB.Execute_data("DELETE  FROM " + mDB.user + ".suckhoe WHERE manv='" + ma_nv + "'");
                    mDB.Execute_data("DELETE  FROM " + mDB.user + ".dmhscv WHERE manv='" + ma_nv + "'");
                    mDB.Execute_data("DELETE  FROM " + mDB.user + ".tangbc WHERE manv='" + ma_nv + "'");
                    mDB.Execute_data("DELETE  FROM " + mDB.user + ".dmnhiemvu WHERE manv='" + ma_nv + "'");
                    mDB.Execute_data("DELETE  FROM " + mDB.user + ".thaydoi_bluong WHERE manv='" + ma_nv + "'");
					
					MessageBox.Show(lan.Change_language_MessageText("Đã Hủy toàn bộ danh sách của nhân viên này"),AccessData.Msg);	
                    ds=mDB.f_countNV();
                    TSo=ds.Tables[0].Rows[0][0].ToString();
                    txtTSo.Text="";
                    txtTSo.Text=TSo.ToString();
					Load_Them();
					txtMaSoNV.Focus();
					load_dgrid("");
                    enable_but(true);
                    butEdit.Enabled = admin;
                    butHuy.Enabled = admin;
				}
				catch {}
			}		
		}

		 void load_LLNVTim(string v_manv)
		{
			try
			{
				txtMaSoNV.Text=v_manv;							
				
			}
			catch{}
		}
		
				
		private void butTim_Click(object sender, System.EventArgs e)
		{
            string m_manv = "";
            frmTimNhanVien f1 = new frmTimNhanVien();
            f1.ShowDialog();
            m_manv = f1.get_manv;
            if (m_manv == "")
            {
                return;
            }
            try
            {
                load_LLNVTim(f1.get_manv);
                load_LLNV();
            }
            catch { }			
		}

		private void butKetThuc_Click(object sender, System.EventArgs e)
		{
			this.Close();
		}

		
		private void load_dgrid(string m_bp)
        {
            dsllnv = mDB.get_llnv(m_bp);
            dataGrid1.DataSource = dsllnv.Tables[0];
            CurrencyManager cm = (CurrencyManager)BindingContext[dataGrid1.DataSource, dataGrid1.DataMember];
            DataView dv = (DataView)cm.List;
            dv.AllowDelete = false;
            dv.AllowEdit = false;
            dv.AllowNew = false;
		}
        
		private void AddTableStype()
		{
			DataGridTableStyle ts = new DataGridTableStyle();
			ts.MappingName = dsllnv.Tables[0].TableName;
			ts.AlternatingBackColor = Color.Beige;
			ts.BackColor = Color.GhostWhite;
			ts.ForeColor = Color.MidnightBlue;
			ts.GridLineColor = Color.RoyalBlue;
			ts.HeaderBackColor = Color.MidnightBlue;
			ts.HeaderForeColor = Color.Lavender;
			ts.SelectionBackColor = Color.Teal;
			ts.SelectionForeColor = Color.PaleGreen;
			ts.RowHeaderWidth=10;
				

			DataGridTextBoxColumn TextCol1=new DataGridTextBoxColumn();
			TextCol1.MappingName = "Manv";
			TextCol1.HeaderText = lan.Change_language_MessageText("Mã hân viên");
			TextCol1.Width = 80;
			TextCol1.Alignment=HorizontalAlignment.Left;
			ts.GridColumnStyles.Add(TextCol1);
			dataGrid1.TableStyles.Add(ts);

			TextCol1=new DataGridTextBoxColumn();
			TextCol1.MappingName = "hovaten";
			TextCol1.HeaderText = lan.Change_language_MessageText("Họ và tên");
			TextCol1.Width = 150;
			TextCol1.Alignment=HorizontalAlignment.Left;
			ts.GridColumnStyles.Add(TextCol1);
			dataGrid1.TableStyles.Add(ts);
			
			
			TextCol1=new DataGridTextBoxColumn();
			TextCol1.MappingName = "namsinh";
			TextCol1.HeaderText = lan.Change_language_MessageText("Năm sinh");
			TextCol1.Width = 80;
			TextCol1.Alignment=HorizontalAlignment.Left;
			ts.GridColumnStyles.Add(TextCol1);
			dataGrid1.TableStyles.Add(ts);

			TextCol1=new DataGridTextBoxColumn();
			TextCol1.MappingName = "phai";
			TextCol1.HeaderText = lan.Change_language_MessageText("Giới tính");
			TextCol1.Width = 80;
			TextCol1.Alignment=HorizontalAlignment.Left;
			ts.GridColumnStyles.Add(TextCol1);
			dataGrid1.TableStyles.Add(ts);

			TextCol1=new DataGridTextBoxColumn();
			TextCol1.MappingName = "chucvu";
			TextCol1.HeaderText = lan.Change_language_MessageText("Chức vụ");
			TextCol1.Width = 120;
			TextCol1.Alignment=HorizontalAlignment.Left;
			ts.GridColumnStyles.Add(TextCol1);
			dataGrid1.TableStyles.Add(ts);

			TextCol1=new DataGridTextBoxColumn();
			TextCol1.MappingName = "tenbp";
			TextCol1.HeaderText = lan.Change_language_MessageText("Khoa/Phòng");
			TextCol1.Width = 150;
			TextCol1.Alignment=HorizontalAlignment.Left;
			ts.GridColumnStyles.Add(TextCol1);
			dataGrid1.TableStyles.Add(ts);

			TextCol1=new DataGridTextBoxColumn();
			TextCol1.MappingName = "noio";
			TextCol1.HeaderText = lan.Change_language_MessageText("Địa chỉ");
			TextCol1.Width = 250;
			TextCol1.Alignment=HorizontalAlignment.Left;
			ts.GridColumnStyles.Add(TextCol1);
			dataGrid1.TableStyles.Add(ts);

			CurrencyManager cm = (CurrencyManager) BindingContext[dataGrid1.DataSource,dataGrid1.DataMember];
			DataView dv = (DataView) cm.List;
			dv.AllowDelete=false;
			dv.AllowEdit = false;
			dv.AllowNew=false;
		}
		
		private void Load_Chucdanh()
		{
			cboChucdanh.DisplayMember="ten";
			cboChucdanh.ValueMember="ma";
			cboChucdanh.DataSource=mDB.get_chucdanh().Tables[0];
			cboChucdanh.SelectedIndex=-1;
		}
		private void Load_Phai()
		{
			cboPhai.DisplayMember="ten";
			cboPhai.ValueMember="ten";
            cboPhai.DataSource = mDB.get_dmphai().Tables[0];			
			cboPhai.SelectedIndex=-1;
		}
		private void Load_BoPhan ()
		{
			cboBoPhan.DisplayMember="tenbp";
			cboBoPhan.ValueMember="madv";
			cboBoPhan.DataSource=mDB.get_bophan().Tables[0];
			cboBoPhan.SelectedIndex=-1;
            //ds_bophan
            DataRow rs;
            ds_bophan = mDB.get_bophan();
            rs = ds_bophan.Tables[0].NewRow();
            rs["madv"] = "";
            rs["Tenbp"] = "(All)";
            ds_bophan.Tables[0].Rows.InsertAt(rs, 0);
            cbpBP_loc.DisplayMember = "tenbp";
            cbpBP_loc.ValueMember = "madv";
            cbpBP_loc.DataSource = ds_bophan.Tables[0];
            cbpBP_loc.SelectedIndex = -1;
		}
        void Load_dmnganhang()
        {
            txtNganhang.ValueMember = "ma";
            txtNganhang.DisplayMember = "tennganhang";
            txtNganhang.DataSource = mDB.get_data("select ma,tennganhang from " + m_user + ".dmnganhang").Tables[0];
            txtNganhang.SelectedIndex = -1;
        }
		private void Load_ChucVu ()
		{
			cboChucVu.DisplayMember="diengiai";
			cboChucVu.ValueMember="macv";
            cboChucVu.DataSource = mDB.get_chucvu().Tables[0];
			cboChucVu.SelectedIndex=-1;
		}
		private void Load_HocVan()
		{
			cboHocVan.DisplayMember="tenhv";
			cboHocVan.ValueMember="mahv";
            cboHocVan.DataSource = mDB.get_hocvan().Tables[0];
			cboHocVan.SelectedIndex=-1;
		}
		private void Load_TonGiao ()
		{
			cboTonGiao.DisplayMember="tentg";
			cboTonGiao.ValueMember="matgiao";
            cboTonGiao.DataSource = mDB.get_tongiao().Tables[0];
			cboTonGiao.SelectedIndex=-1;
		}
		private void Load_QuocTich ()
		{
			cboNguyenQuan.DisplayMember="tenqg";
			cboNguyenQuan.ValueMember="maqg";
            cboNguyenQuan.DataSource = mDB.get_quocgia().Tables[0];
			cboNguyenQuan.SelectedIndex=-1;
		}
		private void Load_DanToc ()
		{		
			cboDanToc.DisplayMember="tendt";
			cboDanToc.ValueMember="madt";
            cboDanToc.DataSource = mDB.get_dantoc().Tables[0];
			cboDanToc.SelectedValue="25";
		}
		private void Load_NgoaiNgu()
		{
			cboNgoaiNgu1.DisplayMember="tennn";
			cboNgoaiNgu1.ValueMember="mann";
            cboNgoaiNgu1.DataSource = mDB.get_ngoaingu().Tables[0];
			cboNgoaiNgu1.SelectedIndex=-1;
			//nn2
			ngoaingu2.DisplayMember="tennn";
			ngoaingu2.ValueMember="mann";
            ngoaingu2.DataSource = mDB.get_ngoaingu().Tables[0];
			ngoaingu2.SelectedIndex=-1;
			//nn3
			cboNgoaingu3.DisplayMember="tennn";
			cboNgoaingu3.ValueMember="mann";
            cboNgoaingu3.DataSource = mDB.get_ngoaingu().Tables[0];
			cboNgoaingu3.SelectedIndex=-1;
			//nn4
			cboNgoaingu4.DisplayMember="tennn";
			cboNgoaingu4.ValueMember="mann";
            cboNgoaingu4.DataSource = mDB.get_ngoaingu().Tables[0];
			cboNgoaingu4.SelectedIndex=-1;
		}
		private void Load_ChuyenMon()
		{
			cboChuyenMon.DisplayMember="tenctdt";
			cboChuyenMon.ValueMember="mactdt";
            cboChuyenMon.DataSource = mDB.get_ctdaotao().Tables[0];
			cboChuyenMon.SelectedIndex=-1;
		}
		private void Load_TinhThuongTru()
		{
			cboTinhThuongTru.DisplayMember="tentt";
			cboTinhThuongTru.ValueMember="matt";
            cboTinhThuongTru.DataSource = mDB.get_tinhthanh().Tables[0];
			cboTinhThuongTru.SelectedValue=mDB.Mabv.Substring(0,3);
		}
		private void Load_huyenOHN()//Load_huyenThuongTru()
		{	cboQuanOHN.DisplayMember="tenquan";
			cboQuanOHN.ValueMember="maqu";
            cboQuanOHN.DataSource = mDB.get_quanhuyen().Tables[0];
			//cboQuanOHN.SelectedIndex =-1;
		}
		private void Load_huyenThuongTru()
		{
            cboQuanThuongTru.DataSource = mDB.get_quanhuyen().Tables[0];
			cboQuanThuongTru.ValueMember="maqu";
			cboQuanThuongTru.DisplayMember="tenquan";
		}
		private void Load_TinhOHienNay()
		{
			cboTinhOHN.DisplayMember="tentt";
			cboTinhOHN.ValueMember="matt";
            cboTinhOHN.DataSource = mDB.get_tinhthanh().Tables[0];
			cboTinhOHN.SelectedValue= mDB.Mabv.Substring(0,3);
		}
        private void Load_Chinhtri()
        {
            cboChinhtri.DisplayMember = "ten";
            cboChinhtri.ValueMember = "ten";
            cboChinhtri.DataSource = mDB.get_dmdtctri().Tables[0];
            cboChinhtri.SelectedIndex = -1;
        }

		private void butXem_Click(object sender, System.EventArgs e)
		{
			try
			{
				print(true);		
			}
			catch{}
		}

		private bool kiemtraF()
		{
			if(txtMaSoNV.Text=="")			
			{
				txtMaSoNV.Focus();
				return false;
			}
            if (mDB.get_data("select * from " + m_user + ".llnv where manv='" + txtMaSoNV.Text + "'").Tables[0].Rows.Count == 0)
            {
                MessageBox.Show(lan.Change_language_MessageText("Chưa cập nhật lý lịch nhân viên!"), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return false;
            }
			return true;
		}
        private void lay_mabn_vantay()
        {
            ma_vantay = "";
            if (fnhandang == null)
                fnhandang = new FrmNhanDang(ptb);
            fnhandang.ShowDialog();
            ma_vantay = fnhandang.mabn;
            if (ma_vantay.Length == 5)
            {
                txtMaSoNV.Text = ma_vantay;
                load_LLNV();
                SendKeys.Send("{Home}");
            }
            else
            {
                ma_vantay = "";
            }
        }
		private void lblCT_Click(object sender, System.EventArgs e)
		{
			try
			{
                if (!kiemtraF()) return;
                frmCongTac f1 = new frmCongTac(txtMaSoNV.Text, txtHoNV.Text + ' ' + txtTenNV.Text, cboBoPhan.Text,cboChucVu.Text, cboChucdanh.Text,admin,ten_nd);
                this.Hide();
                f1.ShowDialog();
                this.Show();
                load_ct();
			}								
			catch{}
		}

		private void lblDT_Click(object sender, System.EventArgs e)
		{
			try
			{
                if (!kiemtraF()) return;
                frmDaoTao f = new frmDaoTao(txtMaSoNV.Text, txtHoNV.Text + ' ' + txtTenNV.Text, cboBoPhan.Text, admin, ten_nd);
                this.Hide();
                f.ShowDialog();
                this.Show();

                load_dt();
            }            
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
		}

		private void lblHD_Click(object sender, System.EventArgs e)
		{
			try
			{
                if (!kiemtraF()) return;
                try
                {
                    
                    frmHopDong f3 = new frmHopDong(txtMaSoNV.Text, txtHoNV.Text.Trim() + ' ' + txtTenNV.Text.Trim(), cboBoPhan.Text,ds,admin,ten_nd);
                    this.Hide();
                    f3.ShowDialog();
                    dtpNgayCongTac.Text = f3.get_NGAYDENCT.ToString();
                    load_hd();
       
                    this.Show();                
                }
                catch { }
                
			}
			catch{}
		}

		private void lblGC_Click(object sender, System.EventArgs e)
		{
			try
			{
                if (!kiemtraF()) return;
                frmGiaCanh f4 = new frmGiaCanh(txtMaSoNV.Text, txtHoNV.Text + ' ' + txtTenNV.Text, cboBoPhan.Text,admin,ten_nd);
                this.Hide();
                f4.ShowDialog();
                this.Show();
                load_gc();
			}
			catch{}
		}

		private void lblNN_Click(object sender, System.EventArgs e)
		{
			try
			{
                if (!kiemtraF()) return;
                frmNuocNgoai f5 = new frmNuocNgoai(txtMaSoNV.Text, txtHoNV.Text + ' ' + txtTenNV.Text, cboBoPhan.Text,admin,ten_nd);
                this.Hide();
                f5.ShowDialog();
                this.Show();
                //load_nn();
			}
			catch{}
		}

		private void lblCS_Click(object sender, System.EventArgs e)
		{
			try
			{
                if (!kiemtraF()) return;
                frmCapSo f6 = new frmCapSo(txtMaSoNV.Text, txtHoNV.Text + ' ' + txtTenNV.Text, cboBoPhan.Text,admin,ten_nd);
                this.Hide();
                f6.ShowDialog();
                this.Show();
                load_cs();
			}
			catch{}
		}

		private void lblSK_Click(object sender, System.EventArgs e)
		{
			try
			{
                if (!kiemtraF()) return;
                frmSucKhoe f7 = new frmSucKhoe(txtMaSoNV.Text, txtHoNV.Text + ' ' + txtTenNV.Text, cboBoPhan.Text,admin,ten_nd);
                this.Hide();
                f7.ShowDialog();
                this.Show();
                load_sk();
			}
			catch{}
		}

		private void load_ct()
		{           
            sql =  "select manv from "+m_user+".congviec where manv='" + txtMaSoNV.Text + "'";
            tmn_congtac.ForeColor = (mDB.get_data(sql).Tables[0].Rows.Count > 0) ? Color.FromArgb(255, 0, 0) : Color.FromArgb(0, 0, 255);		
		}
		private void load_dt()
		{
            string sql = "";
            
            sql= "select mahv,mahocham,nnghiep,td_nnghiep,mann,mann1,mann2,tdnn,tdnn1,tdnn2";
            sql += " from " + m_user + ".llnv where manv='" + txtMaSoNV.Text + "'";
            DataSet ds3 = mDB.get_data(sql);
            tmn_daotao.ForeColor = (ds3.Tables[0].Rows[0]["mahv"].ToString() != "") ? Color.FromArgb(255, 0, 0) : Color.FromArgb(0, 0, 255);
            
		}
		private void load_hd()
		{
			checkHD.Checked=mDB.LyLichNV(txtMaSoNV.Text).Tables[0].Rows.Count!=0;
			lblHD.ForeColor=(checkHD.Checked)?Color.FromArgb(255,0,0):Color.FromArgb(0,0,255);
            tmn_hopdong.ForeColor = (mDB.LyLichNV(txtMaSoNV.Text).Tables[0].Rows.Count != 0) ? Color.FromArgb(255, 0, 0) : Color.FromArgb(0, 0, 255);
		}
		private void load_gc()
		{
            //checkGC.Checked=mDB.f_giacanh_QHGD(txtMaSoNV.Text).Tables[0].Rows.Count!=0;
            //lblGC.ForeColor=(checkGC.Checked)?Color.FromArgb(255,0,0):Color.FromArgb(0,0,255);
            bool cn_gc=false;
            cn_gc = mDB.load_ttgiacanh(txtMaSoNV.Text).Tables[0].Rows.Count != 0;
            tmn_giacanh.ForeColor = (cn_gc) ? Color.FromArgb(255, 0, 0) : Color.FromArgb(0, 0, 255);
		}
		private void load_nn()
		{
            bool nn =mDB.f_dinuocngoai(txtMaSoNV.Text).Tables[0].Rows.Count!=0;
            tmn_nuocngoai.ForeColor = (nn) ? Color.FromArgb(255, 0, 0) : Color.FromArgb(0, 0, 255);
            //lblNN.ForeColor=(checkNN.Checked)?Color.FromArgb(255,0,0):Color.FromArgb(0,0,255);
		}
		private void load_cs()
		{
            bool cokhong =mDB.get_data("SELECT MANV FROM "+ m_user+".thebhyt where manv='"+txtMaSoNV.Text+"'").Tables[0].Rows.Count!=0;
            //lblCS.ForeColor=(checkCS.Checked)?Color.FromArgb(255,0,0):Color.FromArgb(0,0,255);
            tmn_capso.ForeColor = (cokhong) ? Color.FromArgb(255, 0, 0) : Color.FromArgb(0, 0, 255);
            
		}
		private void load_sk()
		{
            bool cokhong = mDB.f_suckhoe(txtMaSoNV.Text).Tables[0].Rows.Count != 0;
            tmn_suckhoe.ForeColor = (cokhong) ? Color.FromArgb(255, 0, 0) : Color.FromArgb(0, 0, 255);
		}
		private void load_dthe()
		{

            DataSet ds1 = mDB.get_data("select * from " + m_user + ".xuatthan x," + m_user + ".llnv l where x.thanhphan=l.tp_x_than and x.thanhphan=l.tp_b_than and l.manv='" + txtMaSoNV.Text + "'");
            DataSet ds2 = mDB.get_data("select * from " + m_user + ".dmnguongoc x," + m_user + ".llnv l where x.ten=l.nguongoc and l.manv='" + txtMaSoNV.Text + "'");
            DataSet ds3 = mDB.get_data("select * from " + m_user + ".dmdtctri x," + m_user + ".llnv l where x.ten=l.chinhtri and l.manv='" + txtMaSoNV.Text + "'");
			if(ds1.Tables[0].Rows.Count!=0)
			{
				checkDThe.Checked=true;
                tmn_doanthe.ForeColor = (checkDThe.Checked) ? Color.FromArgb(255, 0, 0) : Color.FromArgb(0, 0, 255);
			}
			if(ds2.Tables[0].Rows.Count!=0)
			{
				checkDThe.Checked=true;
                tmn_doanthe.ForeColor = (checkDThe.Checked) ? Color.FromArgb(255, 0, 0) : Color.FromArgb(0, 0, 255);
			}
			if(ds3.Tables[0].Rows.Count!=0)
			{
				checkDThe.Checked=true;
                tmn_doanthe.ForeColor = (checkDThe.Checked) ? Color.FromArgb(255, 0, 0) : Color.FromArgb(0, 0, 255);
			}
		}
        private void Load_TDViTinh()
        {
            vitinh.DisplayMember = "ten";
            vitinh.ValueMember = "ma";
            vitinh.DataSource = mDB.get_data("select * from " + m_user + ".tdnnth where tinhoc=true order by ma").Tables[0];
        }

		private void lblDThe_Click_1(object sender, System.EventArgs e)
		{
            if (!kiemtraF()) return;
            frmDoanThe f8 = new frmDoanThe(txtMaSoNV.Text, txtHoNV.Text + ' ' + txtTenNV.Text, cboBoPhan.Text,admin);
            this.Hide();
            f8.ShowDialog();
            this.Show();
		}

		private void txtMaBP_Validated(object sender, System.EventArgs e)
		{
			try
			{
				cboBoPhan.SelectedValue=txtMaBP.Text.Trim();
			}
			catch{}
		}

		private void txtChucVu_Validated(object sender, System.EventArgs e)
		{
			try
			{
				cboChucVu.SelectedValue=txtChucVu.Text.Trim();			
			}
			catch{}
		}

		private void cboBoPhan_SelectedIndexChanged(object sender, System.EventArgs e)
		{
			try
			{
				txtMaBP.Text=cboBoPhan.SelectedValue.ToString();
			}
			catch{}
		}

		private void cboChucVu_SelectedIndexChanged(object sender, System.EventArgs e)
		{
			try
			{
				txtChucVu.Text=cboChucVu.SelectedValue.ToString();
			}
			catch{}
		}

		private void txtnamsinh_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}");
		}

		private void txtnamsinh_Validated(object sender, System.EventArgs e)
		{
			try
			{
				int ns=int.Parse(txtnamsinh.Text);
				if(int.Parse(Convert.ToString(DateTime.Now.Year-ns))<18)
				{
					MessageBox.Show(lan.Change_language_MessageText("Chưa đủ 18 tuổi"),lan.Change_language_MessageText("Thông báo"));
					txtnamsinh.Focus();
					return;
				}
			}
			catch{}
		}

		private void txtnamsinh_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if (!IsNumeric(e.KeyChar.ToString()))
				e.Handled = true;
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void textBox1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}");
		}

		private void textBox1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if (!IsNumeric(e.KeyChar.ToString()))
				e.Handled = true;
			if(e.KeyChar==8)
				e.Handled=false;
		}

		private void cboChucdanh_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}");
		}

		private void txtTGBN_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
            if (e.KeyCode == Keys.Enter)
            {
                if (txtTGBN.Text.Trim() == "")
                {
                    txtTGBN.Text = "0";
                }
                if (txt_macc.Visible == true)
                {
                    txt_macc.Focus();
                }
                else
                {
                    SendKeys.Send("{Tab}");
                }
            }
		}

		private void cboChucdanh_KeyDown_1(object sender, System.Windows.Forms.KeyEventArgs e)
		{
            if (e.KeyCode == Keys.Enter)
            {
                if (bTheATM)
                {
                    txtSotk.Focus();
                }
                else
                {
                    butThem.Focus();
                }
            }
		}

		private void dtpNgayCapCMND_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
			{
				SendKeys.Send("{Tab}");
			}
		}

		private void txtNgayBN_KeyDown_1(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Enter)
				SendKeys.Send("{Tab}");
		}
		private void cboTinhOHN_SelectedIndexChanged(object sender, System.EventArgs e)
		{
            //try
            //{
            //    cboQuanOHN.DataSource = mDB.get_data("select * from "+m_user+".btdquan where matt='" + cboTinhOHN.SelectedValue.ToString().Trim() + "'").Tables[0];
            //    cboQuanOHN.ValueMember = "maqu";
            //    cboQuanOHN.DisplayMember = "tenquan";
            //}
            //catch { }
		}

		
		private void dataGrid1_CurrentCellChanged(object sender, System.EventArgs e)
		{
			int i=0;
			if(dsllnv.Tables[0].Rows.Count>0)
			{
				i = dataGrid1.CurrentRowIndex;
				if(i<0)i=0;
				load_rong();
				Load_donghienhanh(i);
                load_LLNV();
				this.Update();
			}		
		}
		private void Load_donghienhanh(int i)
		{			
			try
			{
				txtMaSoNV.Text=dataGrid1[i,0].ToString();
				//if (barcode.Visible) barcode.Text = txtMaSoNV.Text;
			}
			catch(Exception ex)
			{
				MessageBox.Show(ex.ToString());
			}
		}

		private void txtMaSoNV_Validated(object sender, System.EventArgs e)
		{
			if (barcode.Visible) barcode.Text = txtMaSoNV.Text;

            //tab cong tac
            m_user = mDB.user;
            txtid.Hide();
            load_LBL();
            tongso();
            setcontrol(false);
            ena_btn(true);
            //
        }

        private void txtNgayBN_KeyDown(object sender, KeyEventArgs e)
        {

            if (e.KeyCode == Keys.Enter)
            {
                SendKeys.Send("{tab}");
            }            
        }

        private void dtpNgaySinh_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{tab}");
        }

        private void txtNgayBN_Validated(object sender, EventArgs e)
        {
            txtNgayBN.Text = txtNgayBN.Text.Trim();
            if (txtNgayBN.Text.Trim() == "/  /")
            {
                txtHoNV.Focus();
                return;                
            }
            
            if (txtNgayBN.Text.Length == 6) txtNgayBN.Text = txtNgayBN.Text + DateTime.Now.Year.ToString();
            if (!mDB.kiemtrangayhople(txtNgayBN.Text))
            {
                MessageBox.Show(lan.Change_language_MessageText("Ngày không hợp lệ !"),AccessData.Msg,MessageBoxButtons.OK,MessageBoxIcon.Warning );
                txtNgayBN.Focus();
                return;
            }
        }

        private void tmn_hopdong_Click(object sender, EventArgs e)
        {
            lblHD_Click(null, null);
        }

        private void tmn_daotao_Click(object sender, EventArgs e)
        {
            lblDT_Click(null, null);
        }

        private void txtSotk_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                if (!txtSotk.Text.Trim().Equals(""))
                {
                    txtNganhang.Enabled = true;
                    SendKeys.Send("{tab}");
                }
                else
                    butThem.Focus();
            }
        }

        private void txtNganhang_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                butThem.Focus();
        }

        private void butCancel_Click(object sender, EventArgs e)
        {
            enable_but(true);
            butEdit.Enabled = admin;
            butHuy.Enabled = admin;
            enable_ctl(false);
            butTruoc.PerformClick();
            butTiep.Focus();
            int m_manv;
            string s_manv = mDB.get_data(" select max(to_number(manv)) as manv from nhansu.llnv").Tables[0].Rows[0]["manv"].ToString();
            if (s_manv == "")
            {
                m_manv = 0;
            }
            else
            {
                m_manv = int.Parse(s_manv);            
            }

            sql = " ALTER SEQUENCE nhansu.max_manv";
            sql += " RESTART WITH " + m_manv;
            mDB.Execute_data(sql);
        }

        private void cbpBP_loc_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (this.ActiveControl == cbpBP_loc)
            {
                if (cbpBP_loc.SelectedIndex != -1)
                    load_dgrid(cbpBP_loc.SelectedValue.ToString());
            }
        }

        private void txtTimnhanh_Leave(object sender, EventArgs e)
        {
            if (txtTimnhanh.Text.Trim() == "") txtTimnhanh.Text = "Tìm nhanh";
        }

        private void txtTimnhanh_TextChanged(object sender, EventArgs e)
        {
            if (txtTimnhanh.Text.Trim().ToLower() != lan.Change_language_MessageText("tìm nhanh"))
            {
                CurrencyManager cm = (CurrencyManager)BindingContext[dataGrid1.DataSource, dataGrid1.DataMember];
                DataView dv = (DataView)cm.List;
                dv.RowFilter = "manv like '%" + txtTimnhanh.Text + "%' or hovaten like '%" + txtTimnhanh.Text + "%'";
            }
        }
        private void txtTimnhanh_MouseMove(object sender, MouseEventArgs e)
        {
            //txtTimnhanh.Text = "";
        }
        private void txtTimnhanh_Enter(object sender, EventArgs e)
        {
            txtTimnhanh.Text = "";
        }
        private void tmn_nuocngoai_Click(object sender, EventArgs e)
        {
            lblNN_Click(sender, e);
        }

        private void tmn_suckhoe_Click(object sender, EventArgs e)
        {
            lblSK_Click(sender, e);
        }

        private void txtNganhang_TextChanged(object sender, EventArgs e)
        {

        }
        //ngay 2109 cap nhap thong tin khi doi madv;
        string madv_cu = "", madv_moi = "",macv_cu="",macv_moi="",ngaybn_cu="",ngayn_moi="";
        decimal hscv_cu = 0, hscv_moi;
        int fag = 0;
        private void butEdit_Click(object sender, EventArgs e)
        {
            enable_but(false);
            enable_ctl(true);
            txtMaBP.Focus();    
            madv_cu=mDB.get_data(" select madv from "+mDB.user+".llnv where manv='"+txtMaSoNV.Text.Trim()+"' ").Tables[0].Rows[0]["madv"].ToString();
            macv_cu = cboChucVu.SelectedValue.ToString().Trim();
            hscv_cu = get_hscv(macv_cu);
            if (txtNgayBN.Text.Trim() != "/  /")
            {
                ngaybn_cu = txtNgayBN.Text.Trim();
            }            
            fag =1;
        }
        public bool thaydoi_madv()
        {
            madv_moi = cboBoPhan.SelectedValue.ToString().Trim();
            string mmyy = DateTime.Now.Month.ToString().PadLeft(2,'0') + DateTime.Now.Year.ToString().Substring(2, 2);
            if (!madv_cu.Equals(madv_moi))
            {
                return mDB.upd_madv(txtMaSoNV.Text.Trim(), madv_moi, mmyy);
            }
            return true;
        }
        public bool thaydoi_macv()
        {            
            macv_moi = cboChucVu.SelectedValue.ToString().Trim();
            hscv_moi=get_hscv(cboChucVu.SelectedValue.ToString().Trim());
            string ddmmyy = DateTime.Now.Month.ToString().PadLeft(2, '0') + DateTime.Now.Year.ToString().Substring(2, 2);
            if (txtNgayBN.Text.Trim() != "/  /")
            {
                ngayn_moi = txtNgayBN.Text.Trim();
            }
            if(!macv_moi.Equals(macv_cu))
            {
                return mDB.update_vuotkhung(txtMaSoNV.Text.Trim(),ddmmyy,"cv",hscv_cu,ngaybn_cu,hscv_moi,ngayn_moi,DateTime.Now.ToString("dd/MM/yyyy"),madv_moi,macv_cu);
            }
            return true;
        }
        private void txtTGBN_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') && e.KeyChar != '\b')
                e.KeyChar = '\0';
        }

        private void txt_masothue_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
                SendKeys.Send("{Tab}");
        }

        private void txt_masothue_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar < '0' || e.KeyChar > '9' && e.KeyChar != '\b')
                e.KeyChar = '\0';
        }

        private void txtipmay_KeyPress(object sender, KeyPressEventArgs e)
        {
            if ((e.KeyChar < '0' || e.KeyChar > '9') & e.KeyChar != '.' && e.KeyChar != '\b')
                e.KeyChar = '\0';
        }

        private void frmLyLichNV_Load(object sender, EventArgs e)
        {
            s_mmyy = DateTime.Now.Month.ToString().PadLeft(2, '0') + DateTime.Now.Year.ToString().Substring(2, 2);
            Application.DoEvents();
            m_user = mDB.user;     
            //Command Van Tay
            // 11-09-200 By Nam
            // Begin
            //bVantay = mDB.bVantay(s_mmyy);
            //End




            //bBarcode = mDB.bMavach;
            //if (mDB.bMavach)
            //{
            //    barcode.Visible = true;
            //    barcode.Text = "00001";
            //}
            //else barcode.Visible = false;
            if (mDB.nhap_macc().Trim() == "1")
            {
                lbl_macc.Visible = true;
                txt_macc.Visible = true;
            }            
            bTheATM = mDB.bTheATM();           
            if (bVantay)
            {
                ptb.Visible = true;
                lblvantay.Visible = true;
                finger.Visible = true;
            }
            ngayht = DateTime.Now.Date.ToString("dd/MM/yyyy");
            try
            {
                Load_BoPhan();
                Load_ChucVu();
                Load_HocVan();
                Load_TonGiao();
                Load_QuocTich();
                Load_DanToc();
                Load_NgoaiNgu();
                Load_ChuyenMon();
                Load_TinhThuongTru();
                Load_TinhOHienNay();
                Load_huyenOHN();
                Load_huyenThuongTru();
                Load_Phai();
                Load_Chucdanh();
                Load_TDViTinh();
                Load_TDQLNN();
                Load_dmnganhang();
                Load_Chinhtri();
                load_LLNV();
                Application.DoEvents();
                load_dgrid("");
                int i = 0;
                if (dsllnv.Tables[0].Rows.Count > 0)
                {
                    tabllnv.TabPages[1].Show();
                    i = dataGrid1.CurrentRowIndex;
                    if (i < 0) i = 1;
                    load_rong();
                    Load_donghienhanh(i);
                    load_LLNV();
                    dataGrid1.Update();
                    this.Update();
                    butTruoc.PerformClick();
                }
                tongso();
                AddTableStype();
                enable_but(true);
                butEdit.Enabled = admin;
                butHuy.Enabled = admin;
            }
            catch { }
            butTiep.Focus();
            
            //Load tab dao tao
            Load_tabdatao();
            //
            
        }
        
        private void frmLyLichNV_KeyDown(object sender, KeyEventArgs e)
        {
            if(e.KeyCode==Keys.F12)
            {
                if (bVantay) lay_mabn_vantay();
            }
            if(e.Alt &&e.KeyCode==Keys.R)
            {
                butTruoc_Click(null,null);
            }
            if (e.Alt && e.KeyCode == Keys.N)
            {
                butSau_Click(null, null);
            }
            if (e.Alt && e.KeyCode == Keys.T)
            {
                butTiep_Click(null, null);
            }
            if (e.Alt && e.KeyCode == Keys.S)
            {
                butEdit_Click(null, null);
            }
            if (e.Alt && e.KeyCode == Keys.H)
            {
                butHuy_Click(null, null);
            }
            if (e.Alt && e.KeyCode == Keys.L)
            {
                butThem_Click(null, null);
            }
            if (e.Alt && e.KeyCode == Keys.B)
            {
                butCancel_Click(null, null);
            }
            if (e.Alt && e.KeyCode == Keys.I)
            {
                butTim_Click(null, null);
            }
            if (e.Alt && e.KeyCode == Keys.X)
            {
                butXem_Click(null, null);
            }
            if (e.Alt && e.KeyCode == Keys.K)
            {
                butKetThuc_Click(null, null);
            }
        }

        private void tabllnv_Click(object sender, EventArgs e)
        {
            if (tabllnv.SelectedTab == tabPage2)
            {
                load_dgrid("");
            }          
        }

        private void txt_macc_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                txtHoNV.Focus();
            }
        }

        #region Tab cong tac
        private void btnthem_ct_Click(object sender, EventArgs e)
        {
            setcontrol(true);
            txtTN_CT_ct.Text = "";
            txtDN_CT_ct.Text = "";
            txtDV_CT_ct.Text = "";
            txtHS_CT_ct.Text = "";
            txt_tunam_ct.Text = "";
            txt_dennam_ct.Text = "";
            txt_tuthang.Text = "";
            txt_denthang_ct.Text = "";
            txt_hscv_ct.Text = "";
            txt_hsk_ct.Text = "";
            txt_hsud_ct.Text = "";
            txt_hsvk_ct.Text = "";
            loadconbo_ct();
            txtTN_CT_ct.Focus();
            txtid.Text = "";
            ena_btn(false);

            btn_sua_ct.Enabled = false;
            butHuy_ct.Enabled = false;
            flag = 0;
        }

        private void btn_sua_ct_Click(object sender, EventArgs e)
        {
            if (txtTN_CT_ct.Text.Trim() != "/  /")
            {
                txt_tuthang.Enabled = false;
                txt_tunam_ct.Enabled = false;
            }
            else
            {
                txt_tuthang.Enabled = true;
                txt_tunam_ct.Enabled = true;
            }
            if (txtDN_CT_ct.Text.Trim() != "/  /")
            {
                txt_denthang_ct.Enabled = false;
                txt_dennam_ct.Enabled = false;
            }
            else
            {
                txt_denthang_ct.Enabled = true;
                txt_dennam_ct.Enabled = true;
            }
            setcontrol(true);

            ena_btn(false);
            butHuy_ct.Enabled = false;
            btn_sua_ct.Enabled = false;
            txtTN_CT_ct.Focus();
            flag = 1;
        }

        private void btn_luu_ct_Click(object sender, EventArgs e)
        {
            try
            {
                themnhanvien();
                tongso();
                setcontrol(false);
                ena_btn(true);
                btnthem_ct.Enabled = true;
                btn_luu_ct.Focus();
                ludulieu();
                flag = 0;
            }
            catch { }
        }

        private void btn_boqua_ct_Click(object sender, EventArgs e)
        {
            cbngenghiep_ct.SelectedIndex = -1;
            cbchucvu_ct.SelectedIndex = -1;

            setcontrol(false);
            ena_btn(true);

            flag = 0;
        }

        private void butHuy_ct_Click(object sender, EventArgs e)
        {
            try
            {
                DataSet ds = new DataSet();
                string ma_nv = txtMaSoNV.Text;
                int id = int.Parse(txtid.Text.ToString());
                DialogResult dr = MessageBox.Show(lan.Change_language_MessageText("Đồng ý hủy thông tin này?"), AccessData.Msg, MessageBoxButtons.YesNo);
                if (dr == DialogResult.Yes)
                {
                    try
                    {
                        mDB.Execute_data("DELETE  FROM " + m_user + ".congviec WHERE id=" + id + " ");
                        ds = mDB.f_countNV();
                        TSo = ds.Tables[0].Rows[0][0].ToString();
                        txtTSo.Text = "";
                        txtTSo.Text = TSo.ToString();
                        txtTN_CT_ct.Text = "";
                        txtDN_CT_ct.Text = "";
                        cbngenghiep_ct.SelectedValue = -1;
                        cbchucvu_ct.SelectedValue = -1;
                        txtDV_CT_ct.Text = "";
                        txtHS_CT_ct.Text = "";
                        load_LBL();
                        ena_btn(true);
                    }
                    catch { }
                    flag = 0;
                }
            }
            catch { }
        }

        private void loadKN_ST()
        {
            try
            {
                string ma_nv = txtMaSoNV.Text;
                sql = "SELECT * FROM " + m_user + ".llnv l," + m_user + ".bophan b  where l.mnvmay ='" + ma_nv + "' and l.madv=b.madv";
                DataSet ads = mDB.get_data(sql);
                DataRow[] r = ads.Tables[0].Select("manv='" + ma_nv + "'");
                txtSoThich_ct.Text = r[0]["sothich"].ToString();
                txtKyNang_ct.Text = r[0]["kynang"].ToString();

                if (txtSoThich_ct.Text.Trim() != "")
                    ckbSoThich.Checked = true;
                else
                    ckbSoThich.Checked = false;

                if (txtKyNang_ct.Text.Trim() != "")
                    ckbKyNang.Checked = true;
                else
                    ckbKyNang.Checked = false;
            }
            catch { }
        }

        private void load_LBL()
        {
            ADGSCongTac();
            loadKN_ST();
        }

        private void ADGSCongTac()
        {
            try
            {
                string ma_nv;

                ma_nv = txtMaSoNV.Text;
                sql = " select tunam,dennam,to_char(ngayhl,'dd/mm/yyyy') as tungay, to_char(denngay,'dd/mm/yyyy') as denngay";
                sql += " ,cvu.diengiai ,cd.ten,donvi,mucluong,id ,hs_chucvu,tn_vuotkhung,tn_nghe,hs_khac";
                sql += " from " + m_user + ".congviec cv left join " + m_user + ".dmcv cvu on cv.macv=cvu.macv";
                sql += " left join " + m_user + ".dmcd cd on cv.macd=cd.ma where manv='" + ma_nv.Trim() + "' order by ngayhl desc";
                ds = mDB.get_data(sql);
                dgrThanhVienGD_ct.DataSource = ds.Tables[0];
            }
            catch { }
        }

        public void setcontrol(bool av)
        {
            //groupCT.Enabled = av;
            ckbSoThich.Enabled = av;
            ckbKyNang.Enabled = av;
            txtSoThich_ct.Enabled = av;
            txtKyNang_ct.Enabled = av;
        }

        private void ena_btn(bool ena)
        {
            btn_boqua_ct.Enabled = ena;
            btn_sua_ct.Enabled = !ena;
            butHuy_ct.Enabled = !ena;
            btnthem_ct.Enabled = ena;
            btn_luu_ct.Enabled = !ena;
            btn_boqua_ct.Enabled = !ena;
        }

        private void loadconbo_ct()
        {
            cbngenghiep_ct.DisplayMember = "ten";
            cbngenghiep_ct.ValueMember = "ma";
            cbngenghiep_ct.DataSource = mDB.get_data("select * from " + m_user + ".dmcd ").Tables[0];
            cbngenghiep_ct.SelectedIndex = -1;

            cbchucvu_ct.DisplayMember = "diengiai";
            cbchucvu_ct.ValueMember = "macv";
            cbchucvu_ct.DataSource = mDB.get_data("select * from " + m_user + ".dmcv ").Tables[0];
            cbchucvu_ct.SelectedIndex = -1;
        }

        private void themnhanvien()
        {
            try
            {
                insertKN_ST();
            }
            catch { }
        }

        private void insertKN_ST()
        {
            try
            {
                string ma_nv, ky_nang, so_thich;
                ma_nv = txtMaSoNV.Text;//lblMasoNVCT.Text;
                ky_nang = txtKyNang_ct.Text;
                so_thich = txtSoThich_ct.Text;
                sql = "UPDATE " + m_user + ".llnv SET " +
                " sothich='" + so_thich + "'," +
                " kynang='" + ky_nang + "' " +
                " WHERE mnvmay='" + ma_nv + "'";
                mDB.Execute_data(sql);
            }
            catch { }
        }

        private void ludulieu()
        {
            try
            {
                string ma_nv, tu_ngay, tu_nam, den_ngay, den_nam, don_vi, he_so, ma_cd, ma_cv
                    , hs_cv, hs_vk, hs_ud, hs_k;
                int kt_ct = 0;
                ma_nv = txtMaSoNV.Text;
                {
                    //if (!kiemtra_ct()) return;
                    try
                    {
                        tu_ngay = txtTN_CT_ct.Text.Trim() != "/  /" ? txtTN_CT_ct.Text.Trim() : "";
                        if (txt_tuthang.Text != "" && txt_tunam_ct.Text != "")
                            tu_nam = txt_tuthang.Text.ToString().Trim().PadLeft(2, '0') + "/" + txt_tunam_ct.Text.ToString();
                        else
                            tu_nam = txt_tuthang.Text.ToString().Trim() + txt_tunam_ct.Text.ToString();
                        den_ngay = txtDN_CT_ct.Text.Trim() != "/  /" ? txtDN_CT_ct.Text.Trim() : "";
                        if (txt_denthang_ct.Text != "" && txt_dennam_ct.Text != "")
                            den_nam = txt_denthang_ct.Text.ToString().Trim().PadLeft(2, '0') + "/" + txt_dennam_ct.Text.ToString();
                        else
                            den_nam = txt_denthang_ct.Text.ToString().Trim() + txt_dennam_ct.Text.ToString();

                        ma_cd = cbngenghiep_ct.SelectedValue.ToString();
                        ma_cv = cbchucvu_ct.SelectedValue.ToString();
                        don_vi = txtDV_CT_ct.Text;
                        he_so = (txtHS_CT_ct.Text.Trim() == "") ? "0" : txtHS_CT_ct.Text.Trim();
                        hs_cv = (txt_hscv_ct.Text.Trim() == "") ? "0" : txt_hscv_ct.Text.Trim();
                        hs_k = (txt_hsk_ct.Text.Trim() == "") ? "0" : txt_hsk_ct.Text.Trim();
                        hs_ud = (txt_hsud_ct.Text.Trim() == "") ? "0" : txt_hsud_ct.Text.Trim();
                        hs_vk = (txt_hsvk_ct.Text.Trim() == "") ? "0" : txt_hsvk_ct.Text.Trim();
                        if (chk_dict.Checked)
                        {
                            kt_ct = 1;
                        }
                        decimal m_id = 0;
                        if (flag == 0)
                        {
                            m_id = get_id();
                        }
                        else
                        {
                            if (txtid.Text != "")
                                m_id = decimal.Parse(txtid.Text.ToString());

                        }
                        mDB.upd_congviec(m_id, ma_nv, tu_ngay, tu_nam, den_ngay, den_nam, don_vi, he_so, ma_cd, ma_cv, hs_cv, hs_vk, hs_ud, hs_k, ten_nd, kt_ct);
                        ADGSCongTac();
                    }
                    catch { }
                }
                btn_luu_ct.Focus();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
        }

        decimal get_id()
        {
            decimal m_id = 0;
            sql = "select max(id)+1 as max_id from " + m_user + ".congviec ";
            DataSet dst = new DataSet();
            try
            {
                dst = mDB.get_data(sql);
                if (dst.Tables[0].Rows[0]["max_id"].ToString() != "")
                {
                    m_id = decimal.Parse(dst.Tables[0].Rows[0]["max_id"].ToString());
                }
                else
                    m_id = 1;
            }
            catch
            {
                m_id = 1;
            }
            return m_id;
        }

        private void dgrThanhVienGD_CellClick(object sender, DataGridViewCellEventArgs e)
        {
            string tunam = "", dennam = "", tungay = "", denngay = "";
            try
            {
                DataRowView arv = (DataRowView)(dgrThanhVienGD_ct.CurrentRow.DataBoundItem);
                loadconbo_ct();
                txtTN_CT_ct.Text = arv["tungay"].ToString();
                txtDN_CT_ct.Text = arv["denngay"].ToString();
                cbngenghiep_ct.Text = arv["ten"].ToString();
                cbchucvu_ct.Text = arv["diengiai"].ToString();
                txtDV_CT_ct.Text = arv["donvi"].ToString();
                txtHS_CT_ct.Text = arv["mucluong"].ToString();
                txtid.Text = arv["id"].ToString();
                tungay = arv["tungay"].ToString();
                denngay = arv["denngay"].ToString();
                tunam = arv["tunam"].ToString();
                dennam = arv["dennam"].ToString();

                if (tungay != "")
                {
                    txt_tuthang.Text = tungay.Substring(3, 2).ToString();
                    txt_tunam_ct.Text = tungay.Substring(6, 4).ToString();
                }
                else
                {
                    txt_tuthang.Text = "";
                    txt_tunam_ct.Text = tunam;

                }
                if (denngay != "")
                {
                    txt_denthang_ct.Text = denngay.Substring(3, 2).ToString();
                    txt_dennam_ct.Text = denngay.Substring(6, 4).ToString();
                }
                else
                {
                    txt_denthang_ct.Text = "";
                    txt_dennam_ct.Text = dennam;
                }
                if (tunam.Length > 4)
                {
                    txt_tuthang.Text = tunam.Substring(0, 2).ToString();
                    txt_tunam_ct.Text = tunam.Substring(3, 4).ToString();
                    txt_denthang_ct.Text = dennam.Substring(0, 2).ToString();
                    txt_dennam_ct.Text = dennam.Substring(3, 4).ToString();
                }
                //else
                //{
                //    txt_tunam.Text = arv["tunam"].ToString();
                //    txt_dennam.Text = arv["dennam"].ToString();
                //    txt_tuthang.Text = "";
                //    txt_denthang.Text = "";
                //}
                txt_hscv_ct.Text = arv["hs_chucvu"].ToString();
                txt_hsvk_ct.Text = arv["tn_vuotkhung"].ToString();
                txt_hsud_ct.Text = arv["tn_nghe"].ToString();
                txt_hsk_ct.Text = arv["hs_khac"].ToString();

            }
            catch { };
            ena_btn(false);
            btn_luu_ct.Enabled = false;
        }

        #endregion
        

        #region Tab dao tao
        private void Load_tabdatao()
        {
            load_dm();
            Load_dm_DaoTao();
            load_qtdt_dt();
            refresh_Text_dt();
            Ena_control_dt(false);
            btnThem_dt.Enabled = true;
            Ena_controlCQ_dt(true);
            Ena_textbox_dt(false);
            Ena_textboxCQ_dt(false);
            load_LBL_dt();
            tongso();
        }

        private void btnThem_dt_Click(object sender, EventArgs e)
        {
            Ena_control_dt(false);
            btnLuu_dt.Enabled = true;
            btnBoqua_dt.Enabled = true;
            Ena_textbox_dt(true);
            txt_tunam_ct.Enabled = true;
            txt_dennam_ct.Enabled = true;
            txt_tuthang.Enabled = true;
            txt_denthang_ct.Enabled = true;
            clear_Text_dt();
            cbo_ndt_dt.Focus();
            SendKeys.Send("{F4}");
            flag = 0;
        }

        private void btnLuu_dt_Click(object sender, EventArgs e)
        {
            try
            {
                chon_dt = true;
                saveDT_dt();
                Ena_control_dt(false);
                btnThem_dt.Enabled = true;
                Ena_textbox_dt(false);
                btnThem_dt.Enabled = true;
                refresh_Text_dt();
                btnThem_dt.Focus();
                flag = 0;
            }
            catch { }
        }

        private void butEdit_dt_Click(object sender, EventArgs e)
        {

        }

        private void btnBoqua_dt_Click(object sender, EventArgs e)
        {
            Ena_control_dt(false);
            Ena_textbox_dt(false);
            refresh_Text_dt();
            btnThem_dt.Enabled = true;
            flag = 0;
        }

        private void btnHuy_dt_Click(object sender, EventArgs e)
        {
            DataSet ds = new DataSet();
            string ma_nv = txtMaSoNV.Text;
            decimal id = decimal.Parse(txtid.Text.Trim());
            DialogResult dr = MessageBox.Show(lan.Change_language_MessageText("Đồng ý hủy thông tin này?"), AccessData.Msg, MessageBoxButtons.YesNo, MessageBoxIcon.Question);
            if (dr == DialogResult.Yes)
            {
                try
                {
                    mDB.Execute_data("DELETE  FROM " + m_user + ".qtdaotao WHERE manv='" + ma_nv + "'");// f_Del5(ma_nv);
                    mDB.Execute_data("DELETE  FROM " + m_user + ".hphi WHERE manv='" + ma_nv + "'"); //f_Del5hphi(ma_nv);
                    sql = " UPDATE " + m_user + ".llnv SET mann='',mann1='',mann2='',mann3='',mahv='',nnghiep='',";
                    sql += " td_nnghiep='',he_dt='',tg_dt=0,tdnn='',tdnn1='',tdnn2='',tdnn3='',tdth='',mahocham=''";
                    sql += " WHERE manv='" + ma_nv + "'";
                    mDB.Execute_data(sql);
                    mDB.Execute_data("UPDATE " + m_user + ".hopdong SET namqlnn='' WHERE manv='" + ma_nv + "'"); //f_Del5hopdong(ma_nv);
                    //MessageBox.Show("Đã Hủy");	
                    ds = mDB.f_countNV();
                    TSo = ds.Tables[0].Rows[0][0].ToString();
                    txtTSo.Text = "";
                    txtTSo.Text = TSo.ToString();
                    goicb_dt();
                    ADGSDaoTao();
                    refresh_Text_dt();
                    Ena_control_dt(false);
                    btnThem_dt.Enabled = true;
                    flag = 0;
                }
                catch { }
            }	
        }

        private void refresh_Text_dt()
        {
            string tunam = "", dennam = "", tungay = "", denngay = "";
            int i = dgrDaoTao.CurrentRowIndex;
            if (i >= 0)
            {

                cbo_ndt_dt.SelectedValue = dgrDaoTao[i, 1].ToString();
                cbo_bangcap_dt.SelectedValue = dgrDaoTao[i, 3].ToString();
                cbo_hedt_dt.SelectedValue = dgrDaoTao[i, 5].ToString();
                txt_tg_dt.Text = dgrDaoTao[i, 6].ToString();
                txt_tungay_dt.Text = dgrDaoTao[i, 8].ToString();
                tungay = dgrDaoTao[i, 8].ToString();
                tunam = dgrDaoTao[i, 10].ToString();
                txt_denngay_dt.Text = dgrDaoTao[i, 9].ToString();
                denngay = dgrDaoTao[i, 9].ToString();
                dennam = dgrDaoTao[i, 11].ToString();
                txt_tuthang.Enabled = false;
                txt_tunam_ct.Enabled = false;
                txt_denthang_ct.Enabled = false;
                txt_dennam_ct.Enabled = false;
                if (tungay != "")
                {

                    txt_tuthang.Text = tungay.Substring(3, 2).ToString();
                    txt_tunam_ct.Text = tungay.Substring(6, 4).ToString();
                }
                else
                {

                    txt_tuthang.Text = "";
                    txt_tunam_ct.Text = tunam;

                }
                if (denngay != "")
                {

                    txt_denthang_ct.Text = denngay.Substring(3, 2).ToString();
                    txt_dennam_ct.Text = denngay.Substring(6, 4).ToString();
                }
                else
                {

                    txt_denthang_ct.Text = "";
                    txt_dennam_ct.Text = dennam;
                }

                if (tunam.Length > 4)
                {
                    txt_tuthang.Text = tunam.Substring(0, 2).ToString();
                    txt_tunam_ct.Text = tunam.Substring(3, 4).ToString();
                    txt_denthang_ct.Text = dennam.Substring(0, 2).ToString();
                    txt_dennam_ct.Text = dennam.Substring(3, 4).ToString();
                }

                txt_ghichu_dt.Text = dgrDaoTao[i, 13].ToString();
                txtid.Text = dgrDaoTao[i, 14].ToString();
                txt_noidaotao_dt.Text = dgrDaoTao[i, 12].ToString();
                cbo_donvitg_dt.Text = dgrDaoTao[i, 7].ToString();

            }
        }
        private void refresh_TextCQ_dt()
        {
            int i = dgrQTDTCoQuan.CurrentRowIndex;
            if (i >= 0)
            {
                cboNDT_CQ_dt.SelectedValue = dgrQTDTCoQuan[i, 1].ToString();
                txtDTT_CQ_dt.Text = dgrQTDTCoQuan[i, 2].ToString();
                txtSPT_CQ_hd.Text = dgrQTDTCoQuan[i, 3].ToString();
                txtST_CQ_dt.Text = dgrQTDTCoQuan[i, 4].ToString();
                txtNTT_CQ_dt.Text = dgrQTDTCoQuan[i, 5].ToString();
                string a = "";
                try
                {
                    a = dgrQTDTCoQuan[i, 6].ToString();
                }
                catch (Exception ex)
                {
                    MessageBox.Show(ex.ToString());
                }
                txtThang_dt.Text = a;
                txtTungay_dt.Text = dgrQTDTCoQuan[i, 8].ToString();
                ghichu_dt.Text = dgrQTDTCoQuan[i, 9].ToString();
                txt_tuthang_ct.Text = dgrQTDTCoQuan[i, 10].ToString();
                cbodonvicq_dt.Text = dgrQTDTCoQuan[i, 7].ToString();
            }
        }
        private void Ena_control_dt(bool ena)
        {
            btnThem_dt.Enabled = ena;
            btnLuu_dt.Enabled = ena;
            btnBoqua_dt.Enabled = ena;
            btnHuy_dt.Enabled = ena;
        }
        private void Ena_controlCQ_dt(bool ena)
        {
            //btnThemCQ.Enabled = ena;
            //btnLuuCQ.Enabled = !ena;
            //btnBoquaCQ.Enabled = !ena;
            //btnHuyCQ.Enabled = !ena;
            //btnxoathanhvienCQ.Enabled = !ena;
            //btnKetthucCQ.Enabled = ena;
        }
        private void Ena_textbox_dt(bool ena)
        {
            cbo_ndt_dt.Enabled = ena;
            cbo_bangcap_dt.Enabled = ena;
            cbo_hedt_dt.Enabled = ena;
            txt_tg_dt.Enabled = ena;
            txt_tungay_dt.Enabled = ena;
            txt_denngay_dt.Enabled = ena;
            txt_ghichu_dt.Enabled = ena;
            txtid.Enabled = ena;
            cbo_donvitg_dt.Enabled = ena;
            txt_noidaotao_dt.Enabled = ena;
            //txt_tunam.Enabled = ena;
            //txt_dennam.Enabled = ena;
            //txt_tuthang.Enabled = ena;
            //txt_denthang.Enabled = ena;
        }
        private void Ena_textboxCQ_dt(bool ena)
        {
            cboNDT_CQ_dt.Enabled = ena;
            txtDTT_CQ.Enabled = ena;
            txtSPT_CQ.Enabled = ena;
            txtNTT_CQ.Enabled = ena;
            txtST_CQ.Enabled = ena;
            txtThang_dt.Enabled = ena;
            txtTungay_dt.Enabled = ena;
            ghichu_dt.Enabled = ena;
            //txtid_cq.Enabled = ena;
            cbodonvicq_dt.Enabled = ena;
        }
        private void clear_Text_dt()
        {
            cbo_ndt_dt.SelectedIndex = -1;
            cbo_bangcap_dt.SelectedIndex = -1;
            cbo_hedt_dt.SelectedIndex = -1;
            cbo_donvitg_dt.SelectedIndex = -1;
            txt_tg_dt.Clear();
            txt_tungay_dt.Clear();
            txt_denngay_dt.Clear();
            txt_dennam_ct.Clear();
            txt_tunam_ct.Clear();
            txt_ghichu_dt.Clear();
            txtid.Clear();
            txt_noidaotao_dt.Clear();
            txt_tuthang.Clear();
            txt_denthang_ct.Clear();
        }
        private void clear_TextCQ_dt()
        {
            cboNDT_CQ_dt.SelectedIndex = -1;
            txtDTT_CQ.Clear();
            txtNTT_CQ.Clear();
            txtST_CQ.Clear();
            txtThang_dt.Clear();
            txtTungay_dt.Clear();
            ghichu_dt.Clear();
            //txtid_cq.Clear();
        }
        private void saveDT_dt()
        {
            try
            {
                string manv_dt, mahv_dt, mabangcap_dt, hehocvan_dt, thang_dt, tungay_dt, denngay_dt, ghichu_dt, donvi, noidt, tu_nam, den_nam;
                decimal m_id = 0;
                manv_dt = txtMaSoNV.Text;
                mahv_dt = cbo_ndt_dt.SelectedValue.ToString();
                mabangcap_dt = cbo_bangcap_dt.SelectedValue.ToString();
                hehocvan_dt = cbo_hedt_dt.SelectedValue.ToString();
                thang_dt = txt_tg_dt.Text != "" ? txt_tg_dt.Text : "0";

                tungay_dt = txt_tungay_dt.Text.Trim() != "/  /" ? txt_tungay_dt.Text.Trim() : "";
                if (txt_tuthang.Text != "" && txt_tunam_ct.Text != "")
                    tu_nam = txt_tuthang.Text.ToString().Trim().PadLeft(2, '0') + "/" + txt_tunam_ct.Text.ToString();
                else
                    tu_nam = txt_tuthang.Text.ToString().Trim() + txt_tunam_ct.Text.ToString();
                denngay_dt = txt_denngay_dt.Text.Trim() != "/  /" ? txt_denngay_dt.Text.Trim() : "";
                if (txt_denthang_ct.Text != "" && txt_dennam_ct.Text != "")
                    den_nam = txt_denthang_ct.Text.ToString().Trim().PadLeft(2, '0') + "/" + txt_dennam_ct.Text.ToString();
                else
                    den_nam = txt_denthang_ct.Text.ToString().Trim() + txt_dennam_ct.Text.ToString();

                ghichu_dt = txt_ghichu_dt.Text;
                donvi = cbo_donvitg_dt.Text;
                noidt = txt_noidaotao_dt.Text;

                if (flag == 0)
                {
                    m_id = get_id();
                }
                else
                {
                    if (txtid.Text != "")
                        m_id = decimal.Parse(txtid.Text.ToString());
                }
                //

                mDB.upd_qtdaotao(manv_dt, mahv_dt, mabangcap_dt, hehocvan_dt, thang_dt, tungay_dt, tu_nam, denngay_dt, den_nam, ghichu_dt, m_id, donvi, ten_nd, noidt, mDB.user);
                ADGSDaoTao();
            }
            catch { }
        }
        private void ADGSDaoTao()
        {
            try
            {
                string ma_nv;
                ma_nv = txtMaSoNV.Text;
                ds = mDB.f_Daotao(ma_nv);

                dgrDaoTao.TableStyles.Clear();
                DataGridTableStyle ts = new DataGridTableStyle();
                ts.MappingName = ds.Tables[0].TableName;

                ts.AlternatingBackColor = Color.Beige;
                ts.BackColor = Color.GhostWhite;
                ts.ForeColor = Color.MidnightBlue;
                ts.GridLineColor = Color.RoyalBlue;
                ts.HeaderBackColor = Color.MidnightBlue;
                ts.HeaderForeColor = Color.Lavender;
                ts.SelectionBackColor = Color.Teal;
                ts.SelectionForeColor = Color.PaleGreen;
                ts.RowHeaderWidth = 10;

                DataGridTextBoxColumn TextCol1 = new DataGridTextBoxColumn();
                TextCol1.MappingName = "tenctdt";
                TextCol1.HeaderText = lan.Change_language_MessageText("Ngành đào tạo");
                TextCol1.Width = 120;
                TextCol1.Alignment = HorizontalAlignment.Left;
                ts.GridColumnStyles.Add(TextCol1);
                dgrDaoTao.TableStyles.Add(ts);

                DataGridTextBoxColumn TextCol2 = new DataGridTextBoxColumn();
                TextCol2.MappingName = "mahv";
                TextCol2.HeaderText = lan.Change_language_MessageText("Mã ngành");
                TextCol2.Width = 0;
                ts.GridColumnStyles.Add(TextCol2);
                dgrDaoTao.TableStyles.Add(ts);

                DataGridTextBoxColumn TextCol3 = new DataGridTextBoxColumn();
                TextCol3.MappingName = "tenbang";
                TextCol3.HeaderText = lan.Change_language_MessageText("Bằng cấp");
                TextCol3.Width = 120;
                TextCol3.Alignment = HorizontalAlignment.Left;
                ts.GridColumnStyles.Add(TextCol3);
                dgrDaoTao.TableStyles.Add(ts);

                DataGridTextBoxColumn TextCol4 = new DataGridTextBoxColumn();
                TextCol4.MappingName = "mabangcap";
                TextCol4.HeaderText = lan.Change_language_MessageText("Mã bằng");
                TextCol4.Width = 0;
                ts.GridColumnStyles.Add(TextCol4);
                dgrDaoTao.TableStyles.Add(ts);

                DataGridTextBoxColumn TextCol5 = new DataGridTextBoxColumn();
                TextCol5.MappingName = "tenhe";
                TextCol5.HeaderText = lan.Change_language_MessageText("Hệ");
                TextCol5.Width = 80;
                TextCol5.Alignment = HorizontalAlignment.Left;
                ts.GridColumnStyles.Add(TextCol5);
                dgrDaoTao.TableStyles.Add(ts);

                DataGridTextBoxColumn TextCol6 = new DataGridTextBoxColumn();
                TextCol6.MappingName = "hehocvan";
                TextCol6.HeaderText = lan.Change_language_MessageText("Mã hệ");
                TextCol6.Width = 0;
                ts.GridColumnStyles.Add(TextCol6);
                dgrDaoTao.TableStyles.Add(ts);

                DataGridTextBoxColumn TextCol7 = new DataGridTextBoxColumn();
                TextCol7.MappingName = "thang";
                TextCol7.HeaderText = lan.Change_language_MessageText("Thời gian");
                TextCol7.Width = 40;
                TextCol7.Alignment = HorizontalAlignment.Left;
                ts.GridColumnStyles.Add(TextCol7);
                dgrDaoTao.TableStyles.Add(ts);

                DataGridTextBoxColumn TextCol8 = new DataGridTextBoxColumn();
                TextCol8.MappingName = "donvi";
                TextCol8.HeaderText = lan.Change_language_MessageText("Đơn vị");
                TextCol8.Width = 50;
                TextCol8.Alignment = HorizontalAlignment.Left;
                ts.GridColumnStyles.Add(TextCol8);
                dgrDaoTao.TableStyles.Add(ts);

                DataGridTextBoxColumn TextCol9 = new DataGridTextBoxColumn();
                TextCol9.MappingName = "tungay";
                TextCol9.HeaderText = lan.Change_language_MessageText("Từ ngày");
                TextCol9.Width = 80;
                TextCol9.Alignment = HorizontalAlignment.Left;
                ts.GridColumnStyles.Add(TextCol9);
                dgrDaoTao.TableStyles.Add(ts);

                DataGridTextBoxColumn TextCol10 = new DataGridTextBoxColumn();
                TextCol10.MappingName = "denngay";
                TextCol10.HeaderText = lan.Change_language_MessageText("Đến ngày");
                TextCol10.Width = 80;
                TextCol10.Alignment = HorizontalAlignment.Left;
                ts.GridColumnStyles.Add(TextCol10);
                dgrDaoTao.TableStyles.Add(ts);

                DataGridTextBoxColumn TextCol11 = new DataGridTextBoxColumn();
                TextCol11.MappingName = "tunam";
                TextCol11.HeaderText = lan.Change_language_MessageText("Từ năm");
                TextCol11.Width = 50;
                TextCol11.Alignment = HorizontalAlignment.Left;
                ts.GridColumnStyles.Add(TextCol11);
                dgrDaoTao.TableStyles.Add(ts);

                DataGridTextBoxColumn TextCol12 = new DataGridTextBoxColumn();
                TextCol12.MappingName = "dennam";
                TextCol12.HeaderText = lan.Change_language_MessageText("Đến năm");
                TextCol12.Width = 50;
                TextCol12.Alignment = HorizontalAlignment.Left;
                ts.GridColumnStyles.Add(TextCol12);
                dgrDaoTao.TableStyles.Add(ts);

                DataGridTextBoxColumn TextCol13 = new DataGridTextBoxColumn();
                TextCol13.MappingName = "noi_dt";
                TextCol13.HeaderText = lan.Change_language_MessageText("Nơi đào tạo");
                TextCol13.Width = 130;
                TextCol13.Alignment = HorizontalAlignment.Left;
                ts.GridColumnStyles.Add(TextCol13);
                dgrDaoTao.TableStyles.Add(ts);

                DataGridTextBoxColumn TextCol14 = new DataGridTextBoxColumn();
                TextCol14.MappingName = "ghichu";
                TextCol14.HeaderText = lan.Change_language_MessageText("Ghi chú");
                TextCol14.Width = 120;
                TextCol14.Alignment = HorizontalAlignment.Left;
                ts.GridColumnStyles.Add(TextCol14);
                dgrDaoTao.TableStyles.Add(ts);

                DataGridTextBoxColumn TextCol15 = new DataGridTextBoxColumn();
                TextCol15.MappingName = "id";
                TextCol15.HeaderText = "ID";
                TextCol15.Width = 30;
                TextCol15.Alignment = HorizontalAlignment.Left;
                ts.GridColumnStyles.Add(TextCol15);
                dgrDaoTao.TableStyles.Add(ts);

                ts.DataGrid.DataSource = ds.Tables[0];

                CurrencyManager cm = (CurrencyManager)BindingContext[dgrDaoTao.DataSource, dgrDaoTao.DataMember];
                DataView dv = (DataView)cm.List;
                dv.AllowNew = false;
                dv.AllowEdit = false;
                dv.AllowDelete = false;
            }
            catch { }
        }
        private void goicb_dt()
        {
            cboHocVanDT_dt.SelectedIndex = -1; cboChuyenMonDT_dt.SelectedIndex = -1;
            cboTrinhDoDT_dt.SelectedIndex = -1; cboHe_dt.SelectedIndex = -1; txtHe_dt.Text = ""; cboHocHam_dt.SelectedIndex = -1;
            cboHocVanNN1_dt.SelectedIndex = -1; cboChuyenMonTD1_dt.SelectedIndex = -1; cboTrinhDoNN1_dt.SelectedIndex = -1;
            cboHeTD1_dt.SelectedIndex = -1; txtQLNNDaHoc.Text = "";
            cboHocVanNN2_dt.SelectedIndex = -1; cboChuyenMonTD2_dt.SelectedIndex = -1; cboTrinhDoNN2_dt.SelectedIndex = -1;
            cboHeTD2_dt.SelectedIndex = -1; cboTDViTinh_dt.SelectedIndex = -1;
        }
        private void load_dm()
        {
            cbo_ndt_dt.SelectedIndex = -1;
            cbo_ndt_dt.Focus();
            cbo_ndt_dt.DisplayMember = "tenctdt";
            cbo_ndt_dt.ValueMember = "mactdt";
            cbo_ndt_dt.DataSource = mDB.get_ctdaotao().Tables[0];

            cbo_bangcap_dt.DisplayMember = "tenbang";
            cbo_bangcap_dt.ValueMember = "mabangcap";
            cbo_bangcap_dt.DataSource = mDB.get_bangcap().Tables[0];

            cbo_hedt_dt.DisplayMember = "tenhe";
            cbo_hedt_dt.ValueMember = "mahe";
            cbo_hedt_dt.DataSource = mDB.get_hedaotao().Tables[0];
            cbo_ndt_dt.SelectedIndex = -1; cbo_bangcap_dt.SelectedIndex = -1; cbo_hedt_dt.SelectedIndex = -1;
            txt_tg_dt.Text = ""; txt_tungay_dt.Text = ""; txt_denngay_dt.Text = ""; txt_ghichu_dt.Text = ""; txt_noidaotao_dt.Text = "";
        }
        private void Load_dm_DaoTao()
        {
            Load_HocVanDT_dt(); Load_HVNN1_dt();
            Load_HVNN2_dt(); Load_ChuyenMonDT_dt();
            Load_CMTD1_dt(); Load_CMTD2_dt();
            Load_TrinhDoDT_dt(); Load_TDNN1_dt();
            Load_TDNN2_dt(); Load_HeDT_dt();
            Load_HTD1_dt(); Load_HTD2_dt();
            Load_HocHamDT_dt(); Load_TDViTinh_dt();
            Load_TDQLNN_dt();
        }
        private void Load_HocVanDT_dt()
        {
            cboHocVanDT_dt.DisplayMember = "tenhv";
            cboHocVanDT_dt.ValueMember = "mahv";
            cboHocVanDT_dt.DataSource = mDB.get_hocvan().Tables[0];
            cboHocVanDT_dt.SelectedIndex = -1;
        }
        private void Load_TDQLNN_dt()
        {
            cboTDQLNN_dt.DisplayMember = "ten";
            cboTDQLNN_dt.ValueMember = "ma";
            cboTDQLNN_dt.DataSource = mDB.get_tdqlnn().Tables[0];
            cboTDQLNN_dt.SelectedIndex = -1;
        }
        private void Load_HVNN1_dt()
        {
            cboHocVanNN1_dt.DisplayMember = "tennn";
            cboHocVanNN1_dt.ValueMember = "mann";
            cboHocVanNN1_dt.DataSource = mDB.get_ngoaingu().Tables[0];
            cboHocVanNN1_dt.SelectedIndex = -1;
        }
        private void Load_HVNN2_dt()
        {
            cboHocVanNN2_dt.DisplayMember = "tennn";
            cboHocVanNN2_dt.ValueMember = "mann";
            cboHocVanNN2_dt.DataSource = mDB.get_ngoaingu().Tables[0];
            cboHocVanNN2_dt.SelectedIndex = -1;
        }
        private void Load_ChuyenMonDT_dt()
        {
            cboChuyenMonDT_dt.DisplayMember = "tenctdt";
            cboChuyenMonDT_dt.ValueMember = "mactdt";
            cboChuyenMonDT_dt.DataSource = mDB.get_ctdaotao().Tables[0];
        }
        private void Load_CMTD1_dt()
        {
            cboChuyenMonTD1_dt.DisplayMember = "ten";
            cboChuyenMonTD1_dt.ValueMember = "ma";
            cboChuyenMonTD1_dt.DataSource = mDB.get_tdnnth().Tables[0];
        }
        private void Load_CMTD2_dt()
        {
            cboChuyenMonTD2_dt.DisplayMember = "ten";
            cboChuyenMonTD2_dt.ValueMember = "ma";
            cboChuyenMonTD2_dt.DataSource = mDB.get_tdnnth().Tables[0];
        }
        private void Load_TrinhDoDT_dt()
        {
            cboTrinhDoDT_dt.DisplayMember = "tenbang";
            cboTrinhDoDT_dt.ValueMember = "mabangcap";
            cboTrinhDoDT_dt.DataSource = mDB.get_bangcap().Tables[0];
        }
        private void Load_TDNN1_dt()
        {
            cboTrinhDoNN1_dt.DisplayMember = "tennn";
            cboTrinhDoNN1_dt.ValueMember = "mann";
            cboTrinhDoNN1_dt.DataSource = mDB.get_ngoaingu().Tables[0];
            cboTrinhDoNN1_dt.SelectedIndex = -1;
        }
        private void Load_TDNN2_dt()
        {
            cboTrinhDoNN2_dt.DisplayMember = "tennn";
            cboTrinhDoNN2_dt.ValueMember = "mann";
            cboTrinhDoNN2_dt.DataSource = mDB.get_ngoaingu().Tables[0];
            cboTrinhDoNN2_dt.SelectedIndex = -1;
        }
        private void Load_HeDT_dt()
        {
            cboHe_dt.DisplayMember = "tenhe";
            cboHe_dt.ValueMember = "mahe";
            cboHe_dt.DataSource = mDB.get_hedaotao().Tables[0];
        }
        private void Load_HTD1_dt()
        {
            cboHeTD1_dt.DisplayMember = "ten";
            cboHeTD1_dt.ValueMember = "ma";
            cboHeTD1_dt.DataSource = mDB.get_tdnnth().Tables[0];
        }
        private void Load_HTD2_dt()
        {
            cboHeTD2_dt.DisplayMember = "ten";
            cboHeTD2_dt.ValueMember = "ma";
            cboHeTD2_dt.DataSource = mDB.get_tdnnth().Tables[0];
        }
        private void Load_HocHamDT_dt()
        {
            cboHocHam_dt.DisplayMember = "tenhocham";
            cboHocHam_dt.ValueMember = "mahocham";
            cboHocHam_dt.DataSource = mDB.get_hocham().Tables[0];
        }
        private void Load_TDViTinh_dt()
        {
            cboTDViTinh_dt.DisplayMember = "ten";
            cboTDViTinh_dt.ValueMember = "ma";
            cboTDViTinh_dt.DataSource = mDB.get_tdnnth().Tables[0];
        }
        private void load_qtdt_dt()
        {
            cboNDT_CQ_dt.Focus();
            cboNDT_CQ_dt.DisplayMember = "tenctdt";
            cboNDT_CQ_dt.ValueMember = "mactdt";
            cboNDT_CQ_dt.DataSource = mDB.get_ctdaotao().Tables[0];
            cboNDT_CQ_dt.SelectedIndex = -1;
            txtDTT_CQ_dt.Text = ""; txtSPT_CQ_hd.Text = ""; txtST_CQ_dt.Text = ""; txtNTT_CQ_dt.Text = "";
        }
        private void load_LBL_dt()
        {
            string ma_nv1 = txtMaSoNV.Text.ToString();
            string ho_nv = txtMaSoNV.Text.ToString();
            //string bophan_nv = lblTenPhongCT.Text.ToString();
            load_daotao_ct();
            ADGSDaoTao();
            //ADGSDaoTaoCQ();
        }
        private void load_daotao_ct()
        {
            try
            {
                string ma_nv = txtMaSoNV.Text;
                DataSet ds = new DataSet();
                ds = mDB.get_data("select * from  " + m_user + ".hopdong where manv='" + ma_nv + "'");
                DataSet ds1 = new DataSet();
                ds1 = mDB.get_data("select * from  " + m_user + ".llnv where manv='" + ma_nv + "' "); //.f_dTsuallnv(ma_nv);
                DataRow[] r = ds.Tables[0].Select("manv = '" + ma_nv + "'");
                DataRow[] r1 = ds1.Tables[0].Select("manv = '" + ma_nv + "'");
                int t = ds.Tables[0].Rows.Count;
                int t1 = ds1.Tables[0].Rows.Count;

                if (ds1.Tables[0].Rows.Count > 0)
                {
                    cboHocVanDT_dt.SelectedValue = r1[0]["mahv"].ToString();
                    cboChuyenMonDT_dt.SelectedValue = r1[0]["nnghiep"].ToString();
                    cboHocVanNN1_dt.SelectedValue = r1[0]["mann"].ToString();
                    cboHocVanNN2_dt.SelectedValue = r1[0]["mann2"].ToString();
                    cboTrinhDoNN1_dt.SelectedValue = r1[0]["mann1"].ToString();
                    cboTrinhDoNN2_dt.SelectedValue = r1[0]["mann3"].ToString();
                    cboTrinhDoDT_dt.SelectedValue = r1[0]["td_nnghiep"].ToString().Trim();
                    cboHe_dt.SelectedValue = r1[0]["he_dt"].ToString();
                    txtHe_dt.Text = r1[0]["tg_dt"].ToString().Trim();
                    string _s = r1[0]["tdth"].ToString();
                    if (_s.Trim() != "")
                    {
                        cboTDViTinh_dt.SelectedValue = (r1[0]["tdth"].ToString());
                    }

                    string s2 = r1[0]["mahocham"].ToString();
                    if (s2.Trim() != "")
                    {
                        cboHocHam_dt.SelectedValue = (r1[0]["mahocham"].ToString());
                    }
                }

                if (ds1.Tables[0].Rows.Count > 0)
                {
                    cboChuyenMonTD1_dt.SelectedValue = (r1[0]["tdnn"].ToString());
                    cboChuyenMonTD2_dt.SelectedValue = (r1[0]["tdnn2"].ToString());
                    cboHeTD1_dt.SelectedValue = (r1[0]["tdnn1"].ToString());
                    cboHeTD2_dt.SelectedValue = (r1[0]["tdnn3"].ToString());
                }
                if (ds.Tables[0].Rows.Count > 0)
                {
                    txtQLNNDaHoc.Text = r[0]["namqlnn"].ToString();
                    string s1 = r[0]["tdqlnn"].ToString();
                    if (s1.Trim() != "")
                    {
                        cboTDQLNN_dt.SelectedValue = (r[0]["tdqlnn"].ToString());
                    }
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.StackTrace, AccessData.Msg);
            }
        }
        private void dgrDaoTao_CurrentCellChanged(object sender, EventArgs e)
        {
            try
            {
                refresh_Text_dt();
                Ena_control_dt(false);
                btnBoqua_dt.Enabled = true;
                btnHuy_dt.Enabled = admin;
            }
            catch { }
        }

        #endregion

        #region Tab hop dong
        private void btn_them_hd_Click(object sender, EventArgs e)
        {
            if (cbo_loaihd_hd.SelectedIndex != -1)
            {
                switch (cbo_loaihd_hd.SelectedValue.ToString())
                {
                    case "BC":
                        if (txt_ngaynghi_hd.Text.Trim() == "/  /")
                        {
                            MessageBox.Show(lan.Change_language_MessageText("Nhập ngày kết thúc hợp đồng, trước khi nhập hợp đồng mới!"), lan.Change_language_MessageText("Thông báo"));
                            txt_ngaynghi_hd.Focus();
                            return;
                        }
                        break;
                    case "HD":
                        break;
                }
            }
            else
                cbo_loaihd_hd.SelectedIndex = 0;
            bEdit = true;
            Enabled_clt_hd(true);
            enable_butt_hd(false);
            btn_sua_hd.Enabled = admin;
            btn_huy_hd.Enabled = admin;
            clear_text_hd();
            txtLan_hd.Text = mDB.Get_lan_hd(txtMaSoNV.Text).ToString();
            if (txtLan_hd.Text == "1")
            {
                txt_tungaytv_hd.Text = "";
                txt_denngaytv_hd.Text = "";
                txt_ngaychinhthuc_hd.Text = "";
                p_thoiviec_text(true);
            }
            else
            {
                int i_lan = 0;
                try
                {
                    i_lan = int.Parse(txtLan_hd.Text.Trim()) - 1;
                }
                catch { i_lan = 0; }
                
                n_manv = txtMaSoNV.Text;
                sql = "select a.macv,a.mangach,a.bac,to_char(a.ngaybnngach,'dd/mm/yyyy')as ngaybnngach,to_char(a.ngaydenct,'dd/mm/yyyy') as ngaydenct";
                sql += " , to_char(a.tungay,'dd/mm/yyyy') as tungay,to_char(a.ngayhd,'dd/mm/yyyy') as ngayhd,to_char(a.denngay,'dd/mm/yyyy') as denngay,to_char(a.ngaynghi,'dd/mm/yyyy') as ngaynghi ";
                sql += " , to_char(a.ngaybhxh,'dd/mm/yyyy') as ngaybhxh";
                sql += " ,case when a.bhxh =1 then 'true' else 'false' end as bhxh";
                sql += " ,case when a.bhyt =1 then 'true' else 'false' end as bhyt";
                sql += " ,case when a.bhtn =1 then 'true' else 'false' end as bhtn";
                sql += " ,a.hs_lc,round(to_number(a.hs_vk)*100,0) as hs_vk,a.hs_cv,a.hs_db,a.hs_th,a.hs_ld,a.hs_dh";
                sql += " ,a.hs_kv,a.hs_dt,a.hs_ud,a.hs_tn,a.pc_ta,a.pc_tx,pc_khac,a.lhd_bantg,a.st_bantg,a.luong_sp,pc_tdt,tongluong,sotien_hd,to_char(a.ngaygiulhd,'dd/mm/yyyy') as ngaygiulhd";
                sql += " from " + mDB.user + ".hopdong a where a.manv='" + n_manv + "' and lan=" + i_lan.ToString() + "";
                adsHdtruoc = mDB.get_data(sql);
                try
                {
                    txt_ngaydenct_hd.Text = adsHdtruoc.Tables[0].Rows[0]["ngaydenct"].ToString();
                    txt_ngaykyhd_hd.Text = adsHdtruoc.Tables[0].Rows[0]["denngay"].ToString();
                    txt_tungaytv_hd.Text = adsHdtruoc.Tables[0].Rows[0]["tungay"].ToString();
                    txt_denngaytv_hd.Text = adsHdtruoc.Tables[0].Rows[0]["denngay"].ToString();
                    txt_ngaychinhthuc_hd.Text = adsHdtruoc.Tables[0].Rows[0]["ngaynghi"].ToString();
                    n_macv = adsHdtruoc.Tables[0].Rows[0]["macv"].ToString();
                    txt_ngaygiubac_hd.Text = adsHdtruoc.Tables[0].Rows[0]["ngaybnngach"].ToString();
                    cbo_ngachcc_hd.SelectedValue = adsHdtruoc.Tables[0].Rows[0]["mangach"].ToString();
                    cbo_bac_hd.SelectedValue = adsHdtruoc.Tables[0].Rows[0]["bac"].ToString();
                    txt_ngaybhiem_hd.Text = adsHdtruoc.Tables[0].Rows[0]["ngaybhxh"].ToString();
                    //load he so phu cap
                    txt_hesolc_hd.Text = adsHdtruoc.Tables[0].Rows[0]["hs_lc"].ToString();
                    txt_hsvk_ct.Text = adsHdtruoc.Tables[0].Rows[0]["hs_vk"].ToString();
                    txt_hscv_hd.Text = adsHdtruoc.Tables[0].Rows[0]["hs_cv"].ToString();
                    txt_hsdb_hd.Text = adsHdtruoc.Tables[0].Rows[0]["hs_db"].ToString();
                    txt_hsth_hd.Text = adsHdtruoc.Tables[0].Rows[0]["hs_th"].ToString();
                    txt_hsld_hd.Text = adsHdtruoc.Tables[0].Rows[0]["hs_ld"].ToString();
                    txt_hsdh_hd.Text = adsHdtruoc.Tables[0].Rows[0]["hs_dh"].ToString();
                    txt_hskv_hd.Text = adsHdtruoc.Tables[0].Rows[0]["hs_kv"].ToString();
                    txt_hsdt_hd.Text = adsHdtruoc.Tables[0].Rows[0]["hs_dt"].ToString();
                    txt_hsud_ct.Text = adsHdtruoc.Tables[0].Rows[0]["hs_ud"].ToString();
                    txt_hstn_hd.Text = adsHdtruoc.Tables[0].Rows[0]["hs_tn"].ToString();
                    txt_pcta_hd.Text = adsHdtruoc.Tables[0].Rows[0]["pc_ta"].ToString();
                    txt_pctx_hd.Text = adsHdtruoc.Tables[0].Rows[0]["pc_tx"].ToString();
                    txt_pckh.Text = adsHdtruoc.Tables[0].Rows[0]["pc_khac"].ToString();
                    txt_stbantg_hd.Text = adsHdtruoc.Tables[0].Rows[0]["st_bantg"].ToString();
                    //txt_pctdt.Text = adsHdtruoc.Tables[0].Rows[0]["pc_tdt"].ToString();
                    //txt_tongcong.Text = adsHdtruoc.Tables[0].Rows[0]["tongluong"].ToString();
                    txt_sotienhd_hd.Text = adsHdtruoc.Tables[0].Rows[0]["sotien_hd"].ToString();
                    txt_nhluonghd_hd.Text = adsHdtruoc.Tables[0].Rows[0]["ngaygiulhd"].ToString();
                    cbo_lhdbantg_hd.SelectedValue = adsHdtruoc.Tables[0].Rows[0]["lhd_bantg"].ToString();
                    chk_luongsp.Checked = bool.Parse(adsHdtruoc.Tables[0].Rows[0]["luong_sp"].ToString());
                    p_thoiviec_text(false);
                    chk_bhxh.Checked = bool.Parse(adsHdtruoc.Tables[0].Rows[0]["bhxh"].ToString());
                    chk_bhyt.Checked = bool.Parse(adsHdtruoc.Tables[0].Rows[0]["bhyt"].ToString());
                    chk_bhtn.Checked = bool.Parse(adsHdtruoc.Tables[0].Rows[0]["bhtn"].ToString());
                }
                catch { }
            }
            txt_ngaydenct_hd.Focus();
            cbo_tuyendung_hd.SelectedIndex = 0;
            fag = 0;
        }

        private void btn_luu_hd_Click(object sender, EventArgs e)
        {
            try
            {
                if (!kiemtra()) return;
                //txt_pckh_Validated(null, null);
                if (fag == 1 && !luunangbacluong())
                {
                    MessageBox.Show(lan.Change_language_MessageText("Không cập nhật được thay đổi bậc lương!"), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txt_ngaygiubac_hd.Text = ngaygiubac;
                    cbo_bac_hd.Text = bacluongcu;
                    return;
                }
                if (fag == 1 && !nangphucapvuotkhung())
                {
                    MessageBox.Show(lan.Change_language_MessageText("Không thay đổi được phụ cấp vượt khung "), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txt_ngayvk_hd.Text = ngayquydinh;
                    txt_hsvk_ct.Text = hs_cu;
                    return;
                }
                if (fag == 1 && !nangluonghopdong())
                {
                    MessageBox.Show(lan.Change_language_MessageText("Không thay đổi được tiền lương hợp đồng "), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    txt_nhluonghd_hd.Text = nglhd_cu;
                    txt_sotienhd_hd.Text = sthd_cu.ToString();
                    return;
                }
                if (!capnhat_HD())
                {
                    MessageBox.Show(lan.Change_language_MessageText("Không cập nhật được thông tin hợp đồng!"), AccessData.Msg, MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    return;
                }
                loadHD();
                tongso();
                bEdit = true;
                enable_butt(true);
                btn_sua_hd.Enabled = admin;
                btn_huy_hd.Enabled = admin;
                Enabled_clt(false);
            }
            catch (Exception ex)
            {
                _logger.Error("loi ", ex);
            }
        }

        private void btn_sua_hd_Click(object sender, EventArgs e)
        {
            bEdit = false;
            enable_butt(false);
            btn_sua_hd.Enabled = false;//admin;
            btn_huy_hd.Enabled = false; //admin;
            Enabled_clt(true);
            txt_ngaydenct_hd.Focus();
            bacluongcu = cbo_bac_hd.Text;
            ngaygiubac = txt_ngaygiubac_hd.Text;
            hs_cu = txt_hsvk_ct.Text;
            if (txt_sotienhd_hd.Text.Trim() != "")
            {
                sthd_cu = decimal.Parse(txt_sotienhd_hd.Text.Trim());
            }
            else
            {
                sthd_cu = 0;
            }
            if (txt_nhluonghd_hd.Text.ToString().Trim() == "/  /")
            {
                nglhd_cu = "";
            }
            else
            {
                nglhd_cu = txt_nhluonghd_hd.Text.Trim();
            }
            if (txt_ngayvk_hd.Text.ToString().Trim() == "/  /")
            {
                ngayquydinh = "";
            }
            else
            {
                ngayquydinh = txt_ngayvk_hd.Text;
            }

            mangachcu = mDB.get_data("select ma1 from " + mDB.user + ".mangach where ma='" + cbo_ngachcc_hd.SelectedValue.ToString().Trim() + "'").Tables[0].Rows[0]["ma1"].ToString();
            fag = 1;
            if (cbo_loaihd_hd.SelectedIndex != -1)
                if (cbo_loaihd_hd.SelectedValue.ToString() == "BC" || cbo_loaihd_hd.SelectedValue.ToString() == "DH")
                {
                    num_sothanghd_hd.Enabled = false;
                    txt_denngayhd_hd.Enabled = false;
                    setthuviec(true);
                }
        }

        private void btn_huy_hd_Click(object sender, EventArgs e)
        {

        }

        private void btn_boqua_hd_Click(object sender, EventArgs e)
        {

        }

        private void enable_butt_hd(bool ena)
        {
            btn_them_hd.Enabled = ena;
            btn_boqua_hd.Enabled = !ena;
            btn_sua_hd.Enabled = admin;
            btn_huy_hd.Enabled = admin;
            btn_luu_hd.Enabled = !ena;
        }
        private void Enabled_clt_hd(bool ena)
        {
            txt_ngaydenct_hd.Enabled = ena;
            txt_sohd_hd.Enabled = ena;
            num_sothanghd_hd.Enabled = ena;
            cbo_ngachcc_hd.Enabled = ena;
            cbo_tuyendung_hd.Enabled = ena;
            txt_tungayhd_hd.Enabled = ena;
            txt_denngayhd_hd.Enabled = ena;
            num_sothangtbnh_hd.Enabled = ena;
            txt_ngayhuongluong_hd.Enabled = ena;
            txt_ngaygiubac_hd.Enabled = ena;
            txt_ngayvk_hd.Enabled = ena;
            cbo_bac_hd.Enabled = ena;
            cbo_ghichu_hd.Enabled = ena;
            txt_mltt_hd.Enabled = ena;
            cbo_loaihd_hd.Enabled = ena;
            txt_luongcb_hd.Enabled = !ena;
            txt_ngaybhiem_hd.Enabled = ena;
            txt_ngayphep_hd.Enabled = ena;
            chk_bhyt.Enabled = ena;
            chk_bhxh.Enabled = ena;
            chk_bhtn.Enabled = ena;
            txt_hesolc_hd.Enabled = ena;
            //txt_hsvk.Enabled = ena;
            if (s_vk.Trim() == "1")
            {
                lbl_vk.Enabled = ena;
                txt_hsvk_ct.Enabled = ena;
                if (s_tlvk.Trim() == "1")
                {
                    lbl_tlvk.Visible = ena;
                    lbl_tlvk.Enabled = ena;
                }
            }
            if (s_cv.Trim() == "1")
            {
                lbl_cv.Enabled = ena;
                txt_hscv_hd.Enabled = ena;
            }
            if (s_db.Trim() == "1")
            {
                lbl_db.Enabled = ena;
                txt_hsdb_hd.Enabled = ena;
                if (s_tldb.Trim() == "1")
                {
                    lbl_tldb.Visible = ena;
                    lbl_tldb.Enabled = ena;
                }
            }
            if (s_dt.Trim() == "1")
            {
                lbl_dt.Enabled = ena;
                txt_hsdt_hd.Enabled = ena;
                if (s_tldt.Trim() == "1")
                {
                    lbl_tldt.Visible = ena;
                    lbl_tldt.Enabled = ena;
                }
            }
            if (s_th.Trim() == "1")
            {
                lbl_th.Enabled = ena;
                txt_hsth_hd.Enabled = ena;
            }
            if (s_ld.Trim() == "1")
            {
                lbl_ld.Enabled = ena;
                txt_hsld_hd.Enabled = ena;
            }
            if (s_dh.Trim() == "1")
            {
                lbl_dh.Enabled = ena;
                txt_hsdh_hd.Enabled = ena;
            }
            if (s_kv.Trim() == "1")
            {
                lbl_kv.Enabled = ena;
                txt_hskv_hd.Enabled = ena;
            }
            if (s_dt.Trim() == "1")
            {
                lbl_dt.Enabled = ena;
                txt_hsdt_hd.Enabled = ena;
                if (s_tldt.Trim() == "1")
                {
                    lbl_tldt.Visible = ena;
                    lbl_tldt.Enabled = ena;
                }
            }
            if (s_ud.Trim() == "1")
            {
                lbl_ud.Enabled = ena;
                txt_hsud_ct.Enabled = ena;
                if (s_tlud.Trim() == "1")
                {
                    lbl_tlud.Visible = ena;
                    lbl_tlud.Enabled = ena;
                }
            }
            if (s_tn.Trim() == "1")
            {
                lbl_tn.Enabled = ena;
                txt_hstn_hd.Enabled = ena;
            }
            if (s_ta.Trim() == "1")
            {
                lbl_ta.Enabled = ena;
                txt_pcta_hd.Enabled = ena;
            }
            if (s_tx.Trim() == "1")
            {
                lbl_tx.Enabled = ena;
                txt_pctx_hd.Enabled = ena;
            }
            if (s_tdt.Trim() == "1")
            {
                lbl_pctdt.Enabled = ena;
                //txt_pctdt.Enabled = ena;
            }
            if (s_kh.Trim() == "1")
            {
                lbl_kh.Enabled = ena;
                //txt_pckh.Enabled = ena;
            }
            txt_ngaynghi_hd.Enabled = ena;
            cbo_lydonghi_hd.Enabled = ena;
            cbo_hsbdhv_hd.Enabled = ena;
            txt_ngaydenct_hd.Enabled = ena;
            //dgrhsl.Enabled = !ena;
            txt_ngaykyhd_hd.Enabled = ena;
            txt_phepthem_hd.Enabled = ena;
            chk_tbnghihuu.Enabled = ena;
            txt_ghichuct_hd.Enabled = ena;
            if (luonghd == 1)
            {
                lbl_sotienhd.Visible = true;
                txt_sotienhd_hd.Visible = true;
                lbl_nhluonghd.Visible = true;
                txt_nhluonghd_hd.Visible = true;
                lbl_sotienhd.Enabled = ena;
                txt_sotienhd_hd.Enabled = ena;
                lbl_nhluonghd.Enabled = ena;
                txt_nhluonghd_hd.Enabled = ena;
            }
            if (hd_bantg == 1)
            {
                p_hdbantg.Visible = true;
                p_hdbantg.Enabled = ena;
                cbo_lhdbantg.Enabled = ena;
                txt_stbantg_hd.Enabled = ena;
            }
            if (luong_sp == 1)
            {
                chk_luongsp.Visible = true;
                chk_luongsp.Enabled = ena;
            }
        }
        private void clear_text_hd()
        {
            txt_sohd_hd.Text = "";
            cbo_loaihd_hd.SelectedIndex = -1;
            num_sothanghd_hd.Value = 0;
            txt_ngaydenct_hd.Text = "";
            txt_ngaykyhd_hd.Text = "";
            cbo_ngachcc_hd.SelectedIndex = -1;
            cbo_tuyendung_hd.SelectedIndex = -1;
            txt_tungayhd_hd.Text = "";
            txt_denngayhd_hd.Text = "";
            txt_ngayhuongluong_hd.Text = "";
            txt_ngaygiubac_hd.Text = "";
            txt_ngayvk_hd.Text = "";
            cbo_bac_hd.SelectedIndex = -1;
            cbo_ghichu_hd.SelectedIndex = -1;
            txt_mltt_hd.Text = "0";
            txt_luongcb_hd.Text = "";
            txt_ngaybhiem_hd.Text = "";

            txt_ngayphep_hd.Text = "0";
            chk_bhyt.Checked = false;
            chk_bhxh.Checked = false;
            chk_bhtn.Checked = false;
            txt_hesolc_hd.Text = "0";
            txt_hsvk_ct.Text = "0";
            txt_hscv_hd.Text = "0";
            txt_phepthem_hd.Text = "0";

            txt_hskv_hd.Text = "0";
            txt_hsdt_hd.Text = "0";
            txt_hsud_ct.Text = "0";
            txt_hstn_hd.Text = "0";
            txt_hsth_hd.Text = "0";
            txt_hsld_hd.Text = "0";
            txt_hsdb_hd.Text = "0";
            txt_hsdh_hd.Text = "0";
            txt_pctx_hd.Text = "0";
            txt_pcta_hd.Text = "0";
            //txt_pctdt.Text = "0";
            //txt_pckh.Text = "0";

            txt_ngaynghi_hd.Text = "";
            cbo_lydonghi_hd.SelectedIndex = -1;
            cbo_hsbdhv_hd.SelectedIndex = -1;
            txt_ngaydenct_hd.Focus();
            txt_mltt_hd.Text = mDB.pltoithieu().ToString("#,##0");
            txt_ghichuct_hd.Text = "";
            txt_sotienhd_hd.Text = "0";
            cbo_lhdbantg_hd.SelectedIndex = -1;
            txt_stbantg_hd.Text = "0";
            chk_luongsp.Checked = false;
            //txt_tongcong.Text = "0";            
        }
        private void p_thoiviec_text(bool ena)
        {
            l_tungay.Text = (ena) ? lan.Change_language_MessageText("Thử việc từ ngày") : lan.Change_language_MessageText("Ngày ký lần trước");
            l_denngay.Text = (ena) ? lan.Change_language_MessageText("đến ngày") : lan.Change_language_MessageText("đến ngày");
            l_ngaychinhthuc.Text = (ena) ? lan.Change_language_MessageText("Ngày làm chính thức") : lan.Change_language_MessageText("Chính thức chuyển từ");
        }
        public bool luunangbacluong()
        {
            bacluongmoi = cbo_bac_hd.Text;
            ngaynangbac = txt_ngaygiubac_hd.Text;
            mangachmoi = mDB.get_data("select ma1 from " + mDB.user + ".mangach where ma='" + cbo_ngachcc_hd.SelectedValue.ToString().Trim() + "'").Tables[0].Rows[0]["ma1"].ToString();
            string ddmmyy = DateTime.Now.Month.ToString().PadLeft(2, '0') + DateTime.Now.Year.ToString().Substring(2, 2);
            if (!bacluongmoi.Equals(bacluongcu))
            {
                return mDB.update_bacluong(n_manv, ddmmyy, ngaygiubac, bacluongcu, ngaynangbac, bacluongmoi, mangachcu, mangachmoi, DateTime.Now.Date.ToString("dd/MM/yyyy"), n_madv, n_macv);
            }
            return true;
        }
        private bool nangphucapvuotkhung()
        {
            hs_moi = txt_hsvk_ct.Text;
            ngaygiu = txt_ngayvk_hd.Text;
            string ddmmyy = DateTime.Now.Month.ToString().PadLeft(2, '0') + DateTime.Now.Year.ToString().Substring(2, 2);
            if (!hs_moi.Equals(hs_cu))
            {
                loaiphucap = "vk";
                return mDB.update_vuotkhung(n_manv, ddmmyy, loaiphucap, Math.Round(decimal.Parse(hs_cu) / 100, 2), ngayquydinh, Math.Round(decimal.Parse(hs_moi) / 100, 2), ngaygiu, DateTime.Now.Date.ToString("dd/MM/yyyy"), n_madv, n_macv);
            }
            return true;
        }
        private bool nangluonghopdong()
        {
            if (txt_sotienhd_hd.Text.Trim() != "")
            {
                sthd_moi = decimal.Parse(txt_sotienhd_hd.Text.Trim());
            }
            else
            {
                sthd_moi = 0;
            }
            nglhd_moi = txt_nhluonghd_hd.Text.Trim();
            string ddmmyy = DateTime.Now.Month.ToString().PadLeft(2, '0') + DateTime.Now.Year.ToString().Substring(2, 2);
            if (!sthd_moi.Equals(sthd_cu))
            {
                loaiphucap = "lk";
                return mDB.update_vuotkhung(n_manv, ddmmyy, loaiphucap, sthd_cu, nglhd_cu, sthd_moi, nglhd_moi, DateTime.Now.Date.ToString("dd/MM/yyyy"), n_madv, n_macv);
            }
            return true;
        }
        private bool capnhat_HD()
        {
            string n_hdldso = "", n_loaihd = "", n_ngaydenct = "", n_mangach = "", n_tungay = "", n_denngay = "", n_s_begin = "", n_ngayhd = "", n_ngaybhxh = ""
                , n_ngaynghi = "", n_lydonghi = "", n_matd = "", n_ngayvk = "", n_magc = "", n_heso = "", n_chinhthuc_lv = "", n_nam = "", n_ngay_phep = ""
                , n_tvtungay = "", n_tvdenngay = "", n_ngaygiubac = "", n_ngaygiulhd = "", n_lhdbantg = "";
            int n_tbnghihuu = 0, n_bangkhen = 0, n_phepthem = 0, n_ko_hoanthanh = 0;
            int n_bhxh = 0, n_bhyt = 0, n_bhtn = 0, n_thangnangluong = 0, n_thaisan = 0, n_thoigian = 0, n_bac = 0, n_lan = 0, n_sonphep = 0, n_luongsp;
            decimal s_hs_lc = 0, n_hs_lc = 0, n_hs_cv = 0, n_hs_tn = 0, n_hs_kv = 0, n_pckh = 0, n_sotienhd = 0, n_pctx = 0, n_pctdt = 0, n_hs_dt = 0, n_pcta = 0
                , ud = 0, n_hs_th = 0, n_hs_ld = 0, n_hs_db = 0, n_hs_dh = 0, n_luonghd = 0, n_luongct = 0, n_tongluong = 0, n_hs_vk = 0, n_stbantg = 0;
            bool gttv = false;
            string v_dg1 = "", v_dg2 = "", v_dg3 = "", v_dg4 = "", v_dg5 = "", v_dg6 = "", v_dg7 = "", v_dg8 = "", v_dg9 = "", v_dg10 = "", v_dg11 = "";
            string ghichuct = "";
            try
            {
                n_ngaydenct = txt_ngaydenct_hd.Text.Trim() != "/  /" ? txt_ngaydenct_hd.Text.Trim() : "";
                n_hdldso = txt_sohd_hd.Text.Trim();
                n_loaihd = cbo_loaihd_hd.SelectedIndex != -1 ? cbo_loaihd_hd.SelectedValue.ToString() : "";
                n_thoigian = int.Parse(num_sothanghd_hd.Value.ToString());
                n_mangach = cbo_ngachcc_hd.SelectedIndex != -1 ? cbo_ngachcc_hd.SelectedValue.ToString() : "";
                n_bac = cbo_bac_hd.SelectedIndex != -1 ? int.Parse(cbo_bac_hd.SelectedValue.ToString()) : 0; ;
                n_matd = cbo_tuyendung_hd.SelectedIndex != -1 ? cbo_tuyendung_hd.SelectedValue.ToString() : "";
                n_ngayhd = txt_ngaykyhd_hd.Text.Trim() != "/  /" ? txt_ngaykyhd_hd.Text.Trim() : "";
                n_tungay = txt_tungayhd_hd.Text.Trim() != "/  /" ? txt_tungayhd_hd.Text.Trim() : "";
                n_denngay = txt_denngayhd_hd.Text.Trim() != "/  /" ? txt_denngayhd_hd.Text.Trim() : "";
                n_s_begin = txt_ngayhuongluong_hd.Text.Trim() != "/  /" ? txt_ngayhuongluong_hd.Text.Trim() : "";
                n_ngaygiubac = txt_ngaygiubac_hd.Text.Trim() != "/  /" ? txt_ngaygiubac_hd.Text.Trim() : "";
                n_luonghd = txt_mltt_hd.Text.Trim() != "" ? decimal.Parse(txt_mltt_hd.Text.Trim()) : 0;
                n_luongct = txt_luongcb_hd.Text.Trim() != "" ? decimal.Parse(txt_luongcb_hd.Text.Trim()) : 0;
                n_ngayvk = txt_ngayvk_hd.Text.Trim() != "/  /" ? txt_ngayvk_hd.Text.Trim() : "";
                n_ngaybhxh = txt_ngaybhiem_hd.Text.Trim() != "/  /" ? txt_ngaybhiem_hd.Text.Trim() : "";
                n_bhxh = (chk_bhxh.Checked == true) ? 1 : 0;
                n_bhyt = (chk_bhyt.Checked == true) ? 1 : 0;
                n_bhtn = (chk_bhtn.Checked == true) ? 1 : 0;
                n_heso = cbo_hsbdhv_hd.SelectedIndex != -1 ? cbo_hsbdhv_hd.SelectedValue.ToString() : "";
                n_magc = cbo_ghichu_hd.SelectedIndex != -1 ? cbo_ghichu_hd.SelectedValue.ToString() : "";
                n_sonphep = txt_ngayphep_hd.Text.Trim() != "" ? int.Parse(txt_ngayphep_hd.Text.Trim()) : 0;
                n_phepthem = txt_phepthem_hd.Text.Trim() != "" ? int.Parse(txt_phepthem_hd.Text.Trim()) : 0;

                n_hs_lc = (txt_hesolc_hd.Text.ToString().Trim() == "") ? 0 : decimal.Parse(txt_hesolc_hd.Text.ToString());
                n_hs_vk = (txt_hsvk_ct.Text.Trim() == "") ? 0 : Math.Round(decimal.Parse(txt_hsvk_ct.Text.Trim()) / 100, 3);
                n_hs_cv = (txt_hscv_hd.Text.ToString() == "") ? 0 : decimal.Parse(txt_hscv_hd.Text.ToString());
                if (s_tldb == "1")
                {
                    n_hs_db = (txt_hsdb_hd.Text.ToString() == "") ? 0 : Math.Round(decimal.Parse(txt_hsdb_hd.Text.ToString()) / 100, 2);
                }
                else
                {
                    n_hs_db = (txt_hsdb_hd.Text.ToString() == "") ? 0 : decimal.Parse(txt_hsdb_hd.Text.ToString());
                }
                n_hs_th = (txt_hsth_hd.Text.ToString() == "") ? 0 : decimal.Parse(txt_hsth_hd.Text.ToString());
                n_hs_ld = (txt_hsld_hd.Text.ToString() == "") ? 0 : decimal.Parse(txt_hsld_hd.Text.ToString());
                n_hs_dh = (txt_hsdh_hd.Text.ToString() == "") ? 0 : decimal.Parse(txt_hsdh_hd.Text.ToString());
                n_hs_kv = (txt_hskv_hd.Text.ToString() == "") ? 0 : decimal.Parse(txt_hskv_hd.Text.ToString());
                if (s_tldt.Trim() == "1")
                {
                    n_hs_dt = (txt_hsdt_hd.Text.ToString() == "") ? 0 : Math.Round(decimal.Parse(txt_hsdt_hd.Text.ToString()) / 100, 2);
                }
                else
                {
                    n_hs_dt = (txt_hsdt_hd.Text.ToString() == "") ? 0 : decimal.Parse(txt_hsdt_hd.Text.ToString());
                }
                ud = (txt_hsud_ct.Text.ToString() == "") ? 0 : decimal.Parse(txt_hsud_ct.Text.ToString());
                n_hs_tn = (txt_hstn_hd.Text.ToString() == "") ? 0 : decimal.Parse(txt_hstn_hd.Text.ToString());
                n_ngaygiulhd = txt_nhluonghd_hd.Text.Trim() != "/  /" ? txt_nhluonghd_hd.Text.Trim() : "";
                n_sotienhd = txt_sotienhd_hd.Text.Trim() != "" ? decimal.Parse(txt_sotienhd_hd.Text.Trim()) : 0;
                n_ngaynghi = (txt_ngaynghi_hd.Text.Trim() != "/  /") ? txt_ngaynghi_hd.Text.Trim() : "";
                n_lydonghi = (cbo_lydonghi_hd.SelectedIndex == -1) ? "" : cbo_lydonghi_hd.SelectedValue.ToString();
                n_lhdbantg = cbo_lhdbantg_hd.SelectedIndex != -1 ? cbo_lhdbantg_hd.SelectedValue.ToString().Trim() : "";
                n_stbantg = txt_stbantg_hd.Text.Trim() != "" ? decimal.Parse(txt_stbantg_hd.Text.Trim()) : 0;
                n_luongsp = (chk_luongsp.Checked == true) ? 1 : 0;
                n_pcta = (txt_pcta_hd.Text.ToString() == "") ? 0 : decimal.Parse(txt_pcta_hd.Text.ToString());
                n_pctx = txt_pctx_hd.Text.Trim() != "" ? decimal.Parse(txt_pctx_hd.Text.Trim()) : 0;
                n_pctdt = 0;
                n_pckh = txt_pckh.Text.Trim() != "" ? decimal.Parse(txt_pckh.Text.Trim()) : 0;
                n_tongluong = 0;
                DataSet dsdm = new DataSet();
                decimal hs_cvhd1 = 0;
                decimal hs_dhhd1, hs_dbhd1, hs_ldhd1, hs_thhd1, hs_kvhd1, hs_congtacphihd1, hs_vkhd;
                hs_dhhd1 = 0; hs_dbhd1 = 0; hs_ldhd1 = 0; hs_thhd1 = 0; hs_kvhd1 = 0; hs_congtacphihd1 = 0; hs_vkhd = 0;
                string s_madv1, s_macv1;

                dsdm = mDB.get_data("SELECT * FROM " + m_user + ".hopdong");
                DataRow[] r = dsdm.Tables[0].Select("manv = '" + n_manv + "'");

                ds0 = mDB.LyLichNV(n_manv);
                DataRow[] rhd = ds0.Tables[0].Select("mnvmay= '" + n_manv + "'");
                cboBoPhan.Text = rhd[0]["madv"].ToString();
                s_madv1 = cboBoPhan.Text.ToString();

                cboChucVu.Text = r[0]["macv"].ToString();
                s_macv1 = cboChucVu.Text.ToString();

                hs_cvhd1 = (r[0]["hs_cv"].ToString() != "") ? decimal.Parse(r[0]["hs_cv"].ToString()) : 0;
                hs_dhhd1 = (r[0]["hs_dh"].ToString() != "") ? decimal.Parse(r[0]["hs_dh"].ToString()) : 0;
                hs_dbhd1 = (r[0]["hs_db"].ToString() != "") ? decimal.Parse(r[0]["hs_db"].ToString()) : 0;
                hs_ldhd1 = (r[0]["hs_ld"].ToString() != "") ? decimal.Parse(r[0]["hs_ld"].ToString()) : 0;
                hs_thhd1 = (r[0]["hs_th"].ToString() != "") ? decimal.Parse(r[0]["hs_th"].ToString()) : 0;
                hs_kvhd1 = (r[0]["hs_kv"].ToString() != "") ? decimal.Parse(r[0]["hs_kv"].ToString()) : 0;
                hs_congtacphihd1 = (r[0]["pc_khac"].ToString() != "") ? decimal.Parse(r[0]["pc_khac"].ToString()) : 0;
                hs_vkhd = (r[0]["hs_vk"].ToString() != "") ? decimal.Parse(r[0]["hs_vk"].ToString()) : 0;


                //update dmhscv
                if (hs_cvhd1.ToString() != n_hs_cv.ToString())
                    mDB.upd_dmhscv(n_manv, hs_cvhd1, s_madv1, s_macv1, n_hs_tn, hs_dhhd1, hs_dbhd1, hs_ldhd1, hs_thhd1, hs_kvhd1, hs_congtacphihd1, hs_vkhd);

                //update tangbc neu loaihd la bien che
                if (n_loaihd == "BC")
                    mDB.upd_tangbc(n_manv, s_madv1, s_macv1, n_loaihd);
                s_hs_lc = (r[0]["hs_lc"].ToString() != "") ? decimal.Parse(r[0]["hs_lc"].ToString()) : 0;

                //update dmhslc
                if (s_hs_lc.ToString() != n_hs_lc.ToString())
                    mDB.upd_dmhslc(n_manv, s_hs_lc, s_madv1, s_macv1, n_mangach);

                n_lan = (txtLan_hd.Text.Trim() != "") ? int.Parse(txtLan_hd.Text.Trim()) : 0;
                n_ngay_phep = (txt_ngaykyhd_hd.Text.Trim() != "/  /") ? txt_ngaykyhd_hd.Text.Trim() : "";
                if (txtLan_hd.Text == "1")
                {
                    n_tvtungay = (txt_tungaytv_hd.Text.Trim() != "/  /") ? txt_tungaytv_hd.Text.Trim() : "";
                    n_tvdenngay = (txt_denngaytv_hd.Text.Trim() != "/  /") ? txt_denngaytv_hd.Text.Trim() : "";
                    n_chinhthuc_lv = (txt_ngaychinhthuc_hd.Text.Trim() != "/  /") ? txt_ngaychinhthuc_hd.Text.Trim() : "";
                }
                n_tbnghihuu = (chk_tbnghihuu.Checked == true) ? 1 : 0;
                n_thangnangluong = int.Parse(num_sothangtbnh_hd.Value.ToString());
                ghichuct = txt_ghichuct_hd.Text.Trim();
                //update hopdong
                gttv = mDB.upd_hopdong(n_manv, n_madv, n_macv, n_hdldso, n_ngayhd, n_loaihd, n_tungay, n_denngay, n_thoigian, n_luonghd, n_ngaydenct,
                    n_ngaynghi, "", "", n_sonphep, n_ngaybhxh, n_s_begin, n_bhyt, n_bhxh, n_bhtn, n_hs_cv, n_hs_tn, n_hs_dh, n_hs_ld, n_hs_db, n_hs_kv,
                    n_hs_lc, n_hs_th, n_luongct, n_mangach, n_lydonghi, n_hs_dt, n_pcta, ud, n_ngayvk, n_hs_vk, n_matd, n_magc, "", "", n_bac, n_tbnghihuu,
                    n_bangkhen, n_thangnangluong, n_phepthem, n_ngaygiubac, "", n_chinhthuc_lv, 0, 0, n_ko_hoanthanh, n_nam, n_thaisan,
                    "", "", n_ngay_phep, n_tvtungay, n_tvdenngay, n_lan, n_heso, n_pckh, n_sotienhd, n_ngaygiulhd, ghichuct, n_pctx, n_lhdbantg, n_stbantg, n_luongsp, n_pctdt, n_tongluong, ten_nd);
                //
                //v_dg1 = (txtdg1.SelectedIndex == -1) ? "" : txtdg1.SelectedValue.ToString();
                //v_dg2 = (txtdg2.SelectedIndex == -1) ? "" : txtdg2.SelectedValue.ToString();
                //v_dg3 = (txtdg3.SelectedIndex == -1) ? "" : txtdg3.SelectedValue.ToString();
                //v_dg4 = (txtdg4.SelectedIndex == -1) ? "" : txtdg4.SelectedValue.ToString();
                //v_dg5 = (txtdg5.SelectedIndex == -1) ? "" : txtdg5.SelectedValue.ToString();
                //v_dg6 = (txtdg6.SelectedIndex == -1) ? "" : txtdg6.SelectedValue.ToString();
                //v_dg7 = (txtdg7.SelectedIndex == -1) ? "" : txtdg7.SelectedValue.ToString();
                //v_dg8 = (txtdg8.SelectedIndex == -1) ? "" : txtdg8.SelectedValue.ToString();
                //v_dg9 = (txtdg9.SelectedIndex == -1) ? "" : txtdg9.SelectedValue.ToString();
                //v_dg10 = (txtdg10.SelectedIndex == -1) ? "" : txtdg10.SelectedValue.ToString();
                //v_dg11 = (txtdg11.SelectedIndex == -1) ? "" : txtdg11.SelectedValue.ToString();
                if (bDgcbcc)
                {
                    sql = "update " + m_user + ".hopdong set dg1='" + v_dg1 + "',dg2='" + v_dg2 + "',dg3='" + v_dg3 + "',";
                    sql += "dg4='" + v_dg4 + "',dg5='" + v_dg5 + "',dg6='" + v_dg6 + "',";
                    sql += "dg7='" + v_dg7 + "',dg8='" + v_dg8 + "',dg9='" + v_dg9 + "',";
                    sql += "dg10='" + v_dg10 + "',dg11='" + v_dg11 + "'";
                    sql += " where manv='" + n_manv + "' and lan=" + n_lan;
                    mDB.Execute_data(sql);
                }
                //update filed ld_nghiviec<> null neu lan them moi hop dong >1
                if (bEdit && txtLan_hd.Text.Trim() != "1")
                {
                    foreach (DataRow dr in mDB.get_data("select a.lan,a.lydonghi,a.ld_nghiviec from " + mDB.user + ".hopdong a where a.manv='" + n_manv + "'").Tables[0].Rows)
                    {
                        n_lan = (int.Parse(dr["lan"].ToString()) > n_lan) ? int.Parse(dr["lan"].ToString()) : n_lan;
                        mDB.Execute_data("update " + mDB.user + ".hopdong set ld_nghiviec='" + dr["lydonghi"].ToString() + "' where manv='" + n_manv + "'");
                    }
                    mDB.Execute_data("update " + mDB.user + ".hopdong set ld_nghiviec=null where manv='" + n_manv + "' and lan=" + n_lan + "");
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
                return false;
            }
            return gttv;
        }
        private void Load_LoaiHD()
        {
            cbo_loaihd.DisplayMember = "tenhd";
            cbo_loaihd.ValueMember = "mahd";
            cbo_loaihd.DataSource = mDB.get_hopdong().Tables[0];
            cbo_loaihd.SelectedIndex = 0;
        }
        #endregion
    }
}
